Floating point exception ошибка ansys

На чтение 5 мин Опубликовано Обновлено

Ошибка «Floating point exception» в программе Ansys Fluent является распространенной проблемой, с которой сталкиваются многие пользователи. Эта ошибка возникает при выполнении вычислений с плавающей запятой и обычно указывает на неверные данные или неправильное использование программы.

Одной из основных причин возникновения ошибки «Floating point exception» является деление на ноль или использование неверных математических операций. Это может произойти при неправильной настройке сетки или граничных условиях, а также при некорректном задании физических параметров модели.

Для устранения ошибки «Floating point exception» необходимо проверить и исправить все возможные причины. Во-первых, важно убедиться, что все данные модели заданы корректно и соответствуют физическим условиям. Во-вторых, необходимо повторно проверить и настроить сетку модели, убедившись в отсутствии ошибок или перекосов. Кроме того, можно попробовать уменьшить шаг по времени или изменить параметры модели для более стабильного расчета.

Если все описанные выше способы не помогли устранить ошибку, то возможно потребуется провести более подробный анализ проблемы или обратиться к специалистам технической поддержки Ansys Fluent. Нередко, ошибка «Floating point exception» вызвана глубокими проблемами в модели или настройке программы, требующими более серьезного вмешательства.

Содержание

  1. В чем причина ошибки «Floating point exception ansys fluent» в программе ANSYS Fluent?
  2. Причины возникновения ошибки при работе с программой ANSYS Fluent
  3. Как решить проблему и устранить ошибку «Floating point exception ansys fluent»?

В чем причина ошибки «Floating point exception ansys fluent» в программе ANSYS Fluent?

Ошибка «Floating point exception ansys fluent» является одной из распространенных проблем, с которой сталкиваются пользователи программы ANSYS Fluent. Эта ошибка указывает на исключение операции с плавающей точкой, которое происходит во время выполнения расчетов в программе.

Причинами возникновения ошибки «Floating point exception ansys fluent» могут быть следующие:

  • Неправильное указание начальных условий или граничных условий.
  • Некорректная сетка расчетной области или низкая качество сетки.
  • Проблемы с численной устойчивостью алгоритмов решения уравнений.
  • Ошибки ввода или настройки программы.

Чтобы устранить ошибку «Floating point exception ansys fluent», можно предпринять следующие действия:

  1. Проверить правильность указанных начальных условий и граничных условий. Внимательно проверьте, что каждая граница имеет правильно заданные условия.
  2. Проверить качество сетки расчетной области. Корректная сетка является важным фактором для успешного выполнения расчетов. Проверьте, что сетка достаточно мелкая и без искажений.
  3. Изменить численные параметры решателя. Попробуйте изменить некоторые параметры решателя, такие как шаг по времени или точность расчета. Это может помочь улучшить численную устойчивость расчетов.
  4. Проверить правильность ввода и настройки программы. Убедитесь, что вы правильно ввели все необходимые данные и правильно настроили программу.
  5. Обратиться за помощью к специалистам. Если вы продолжаете сталкиваться с ошибкой «Floating point exception ansys fluent», не стесняйтесь обратиться за помощью к специалистам или сообществам пользователей ANSYS Fluent. Они могут помочь вам найти и исправить проблему.

Исправление ошибки «Floating point exception ansys fluent» может требовать некоторого времени и усилий, но понимание ее причин и предпринятие соответствующих действий поможет достичь успешного выполнения расчетов в программе ANSYS Fluent.

Причины возникновения ошибки при работе с программой ANSYS Fluent

ANSYS Fluent — одна из наиболее распространенных программ для численного моделирования в области механики жидкостей и газов. Однако при работе с данной программой могут возникать различные ошибки, включая ошибку «Floating point exception». Рассмотрим несколько основных причин возникновения данной ошибки и их возможные решения.

  • Некорректные начальные условия или параметры модели: Ошибка «Floating point exception» может возникать при неправильном задании начальных условий или параметров модели. Например, если в модели присутствуют значения, которые не могут быть корректно обработаны программой, возникает данная ошибка. Для решения данной проблемы необходимо внимательно проверить правильность задания начальных условий и параметров модели, а также обратиться к документации ANSYS Fluent для проверки требований к данным параметрам.

  • Недостаточные ресурсы компьютера: Ошибка «Floating point exception» может быть вызвана недостаточностью ресурсов компьютера (процессора, оперативной памяти и т.д.) для выполнения требуемых задач ANSYS Fluent. Например, при работе с большими и сложными моделями может возникнуть данная ошибка из-за нехватки оперативной памяти. Для решения данной проблемы необходимо увеличить ресурсы компьютера или использовать более мощное оборудование.

  • Баги и ошибки в программе: Некоторые версии ANSYS Fluent могут содержать баги и ошибки, которые могут приводить к возникновению ошибки «Floating point exception». В данном случае решение проблемы заключается в обновлении программы до последней версии или установке исправлений (patches) от разработчика программы ANSYS.

  • Проблемы совместимости: Если ANSYS Fluent используется в сочетании с другими программными продуктами или операционной системой, могут возникать проблемы совместимости, которые приводят к ошибке «Floating point exception». В данном случае решением проблемы может быть обновление и совместимость используемых программ и операционной системы.

В заключение, ошибка «Floating point exception» в ANSYS Fluent может возникать по различным причинам: от неправильных параметров модели до проблем совместимости. Для ее решения необходимо внимательно проверить заданные параметры модели, убедиться в достаточности ресурсов компьютера, обновить программу до последней версии и проверить совместимость с другими программными продуктами и операционной системой.

Как решить проблему и устранить ошибку «Floating point exception ansys fluent»?

Ошибка «Floating point exception» в программе Ansys Fluent может возникать по нескольким причинам. Данная ошибка обычно указывает на проблемы с операциями с плавающей точкой в программе. Вот несколько способов решить эту проблему:

  • Проверьте данные: Ошибка может возникать из-за некорректных или неправильно введенных данных. Убедитесь, что ваши входные данные правильно распознаются и правильно введены в программу.
  • Проверьте настройки солвера: Ошибка может быть вызвана неправильной настройкой солвера. Проверьте настройки солвера и убедитесь, что они соответствуют вашим потребностям и условиям задачи.
  • Проверьте сетку: Ошибка может возникать из-за проблем с геометрией сетки или слишком малыми размерами ячейки. Проверьте сетку на наличие ошибок и оптимизируйте ее, если необходимо.
  • Проверьте модель физики: Ошибка может быть вызвана неправильными или некорректными моделями физики. Проверьте модели физики и убедитесь, что они правильно определены и соответствуют вашим потребностям.
  • Обновите программное обеспечение: В некоторых случаях ошибка может быть вызвана проблемами в программном обеспечении. Проверьте наличие обновлений и, если возможно, обновите программу до последней версии.

Old
  August 22, 2014, 09:19

Default
Floating Point Exception Error

 
#1

New Member

 

Shane

Join Date: Aug 2014

Posts: 10

Rep Power: 11

nyox is on a distinguished road

I have been getting the same particular error ever since I’ve tried to run my mesh in Fluent.

Initially, i thought it was because of a bad mesh and I’ve tried to improve the quality of my mesh as much as possible but I am still getting the same floating point error. Even reducing the under relaxation factor does not help.

Would greatly appreciated if someone can give me some insights, I am truly lost as to what else to do.

This is the full error message;

# Divergence detected in AMG solver: x-momentum -> Increasing relaxation sweeps!

Divergence detected in AMG solver: x-momentum
Divergence detected in AMG solver: y-momentum
Divergence detected in AMG solver: z-momentum
Divergence detected in AMG solver: pressure correction
Divergence detected in AMG solver: k
Divergence detected in AMG solver: epsilon
Divergence detected in AMG solver: x-momentum
Divergence detected in AMG solver: y-momentum
Divergence detected in AMG solver: z-momentum
Divergence detected in AMG solver: pressure correction
Divergence detected in AMG solver: k
Divergence detected in AMG solver: epsilon
Divergence detected in AMG solver: x-momentum
Divergence detected in AMG solver: y-momentum
Divergence detected in AMG solver: z-momentum
Divergence detected in AMG solver: pressure correction
Divergence detected in AMG solver: k
Divergence detected in AMG solver: epsilon
Divergence detected in AMG solver: x-momentum
Divergence detected in AMG solver: y-momentum
Divergence detected in AMG solver: z-momentum
Divergence detected in AMG solver: pressure correction
Divergence detected in AMG solver: k
Divergence detected in AMG solver: epsilon
Primitive Error at Node 1: floating point exception

Primitive Error at Node 2: floating point exception

Primitive Error at Node 3: floating point exception

Primitive Error at Node 0: floating point exception

Error: floating point exception
Error Object: #f

nyox is offline

 

Reply With Quote

Old
  August 22, 2014, 16:51

Default

 
#2

Member

 

şakir

Join Date: Mar 2012

Posts: 30

Rep Power: 13

silverra1n is on a distinguished road

Hi!

I have same problem. Do you work parallel solver?

silverra1n is offline

 

Reply With Quote

Old
  August 22, 2014, 21:38

Default

 
#3

New Member

 

Shane

Join Date: Aug 2014

Posts: 10

Rep Power: 11

nyox is on a distinguished road

Yes I used parallel solver. I believe this has to do with my mesh having negative volume elements.

nyox is offline

 

Reply With Quote

Old
  August 23, 2014, 03:10

Default

 
#4

Member

 

şakir

Join Date: Mar 2012

Posts: 30

Rep Power: 13

silverra1n is on a distinguished road

I haven’t negative volume elements but i get same error. I think it is about parallel solver.

silverra1n is offline

 

Reply With Quote

Old
  August 23, 2014, 05:28

Default

 
#5

New Member

 

Shane

Join Date: Aug 2014

Posts: 10

Rep Power: 11

nyox is on a distinguished road

Have you been able to figure out the cause of this? It runs Ok in series?

nyox is offline

 

Reply With Quote

Old
  August 23, 2014, 09:14

Default

 
#6

Member

 

şakir

Join Date: Mar 2012

Posts: 30

Rep Power: 13

silverra1n is on a distinguished road

I have 28 species and wall reactions. So i couldn’t get serial solver.i only guess.

silverra1n is offline

 

Reply With Quote

Old
  August 23, 2014, 23:38

Default

 
#7

New Member

 

Shane

Join Date: Aug 2014

Posts: 10

Rep Power: 11

nyox is on a distinguished road

Is anyone able to help out with this issue?

nyox is offline

 

Reply With Quote

Old
  January 22, 2016, 01:38

Default

 
#8

Member

 

Iman

Join Date: Nov 2013

Posts: 37

Rep Power: 11

engineer.iman is on a distinguished road

Quote:

Originally Posted by nyox
View Post

Is anyone able to help out with this issue?

Did you manage to identify the cause of the error? could you please share how you solved it?
i’m facing the same issue !!!

engineer.iman is offline

 

Reply With Quote

Old
  January 22, 2016, 07:53

Default

 
#9

New Member

 

Dave M.

Join Date: Aug 2014

Location: Koblenz, Germany

Posts: 14

Rep Power: 11

Dave_88 is on a distinguished road

Check your mesh quality for negative volumes, high aspect ratio and so on. Also check your boundary conditions — are they correctly set?

Dave_88 is offline

 

Reply With Quote

Old
  August 18, 2018, 10:21

Default
solution

 
#10

New Member

 

Ali Mohammadi

Join Date: Oct 2017

Posts: 15

Rep Power: 7

cfd lover is on a distinguished road

I faced the same problem and solved it. My domain is axisymmetric and i had not selected all the edges set as axis boundary.I selected the right edge and it disappeared.

cfd lover is offline

 

Reply With Quote

Old
  November 9, 2018, 13:30

Default

 
#11

New Member

 

avpe

Join Date: Nov 2015

Posts: 1

Rep Power: 0

operalpha is on a distinguished road

Quote:

Originally Posted by cfd lover
View Post

I faced the same problem and solved it. My domain is axisymmetric and i had not selected all the edges set as axis boundary.I selected the right edge and it disappeared.

If you want to use a 2D axisymmetric model you have to set the geometry in an special way: The geomery have to be draw in the YX plane and in a way that the rotational axis folows the x direction.

operalpha is offline

 

Reply With Quote

Old
  November 30, 2018, 12:31

Default

 
#12

Member

 

Oula

Join Date: Apr 2015

Location: United Kingdom

Posts: 81

Rep Power: 10

Oula is on a distinguished road

Quote:

Originally Posted by cfd lover
View Post

I faced the same problem and solved it. My domain is axisymmetric and i had not selected all the edges set as axis boundary.I selected the right edge and it disappeared.

Hi cfd lover, was your geometry a 3D or 2D?

Oula is offline

 

Reply With Quote

В программной среде Ansys Fluent, используемой в инженерных расчетах, можно столкнуться с ошибкой «floating point exception». Такая ошибка возникает, когда происходят некорректные операции с числами с плавающей точкой. Floating point exception (FPE) – это тип исключений, связанных с арифметическими вычислениями, которые происходят во время выполнения программы.

Точные причины возникновения floating point exception могут быть различными. Это может быть деление на ноль, вычисление корня отрицательного числа, переполнение числового представления и другие арифметические ошибки. Все это может привести к некорректным результатам расчетов и остановке работы программы.

Чтобы правильно работать с floating point exception в Ansys Fluent, необходимо провести анализ возникновения ошибки и понять ее причины. Для этого можно использовать отладочные инструменты в Ansys Fluent, которые позволяют отслеживать выполнение программы и находить места возникновения ошибок. Также можно провести исследование математической модели и алгоритма расчетов для идентификации потенциальных проблемных мест.

Содержание

  1. Определение floating point exception в Ansys Fluent
  2. Причины возникновения floating point exception в Ansys Fluent
  3. Как обрабатывать floating point exception в Ansys Fluent
  4. Техники предотвращения floating point exception в Ansys Fluent
  5. Решение проблемы floating point exception в Ansys Fluent

Определение floating point exception в Ansys Fluent

Floating point exception – это ошибка, которая возникает при выполнении математических операций над числами с плавающей точкой в программе Ansys Fluent. Эта ошибка указывает на нарушение правил работы с числами с плавающей точкой и может возникать при делении на ноль, вычислении квадратного корня из отрицательного числа или других некорректных операциях.

Floating point exception может возникнуть как при решении задачи в Ansys Fluent, так и при настройке сетки или задании граничных условий. Это может быть связано с неточностью или ошибками во входных данных, а также с особенностями модели или решателя.

Одним из способов исправить проблему floating point exception в Ansys Fluent является тщательная проверка входных данных и их корректировка, если это необходимо. Например, следует убедиться, что нет некорректных значений или особых случаев, которые могут привести к ошибкам. Также важно убедиться, что заданы правильные единицы измерения и масштабы для всех физических параметров.

Другими методами решения проблемы floating point exception являются изменение настроек решателя или выбор другого алгоритма для решения задачи. Некоторые решения также могут потребовать более мощного аппаратного обеспечения или оптимизации сетки для улучшения точности вычислений.

Важно отметить, что floating point exception может не всегда указывать на ошибку в программе Ansys Fluent. Иногда это может быть просто предупреждением о потенциальной неточности или численных проблемах, связанных с самой задачей или конкретными условиями ее решения. В таких случаях требуется тщательный анализ результатов и оценка их достоверности.

Причины возникновения floating point exception в Ansys Fluent

В Ansys Fluent обработка значений с плавающей точкой (floating point) играет важную роль при моделировании и анализе различных физических процессов. Однако, иногда возникают ошибки, связанные с исключениями значения с плавающей точкой (floating point exception), которые могут повлиять на качество результатов и работу программы.

Ниже приведены несколько причин возникновения floating point exception в Ansys Fluent:

  • Деление на ноль: Если в процессе вычислений встречается деление на ноль, то возникает исключение. Это может произойти, например, при задании некорректных начальных условий или нарушении условий задачи.
  • Переполнение числа: Если результат вычисления превышает максимальное значение, которое может быть представлено в формате с плавающей точкой, то также возникает исключение. Это может произойти, например, при очень больших значениях переменных или параметров модели.
  • Неопределенные операции: Попытка выполнить неопределенную операцию с числами с плавающей точкой, такую как выражение 0/0 или sqrt(-1), также может вызвать исключение.

Ansys Fluent предоставляет механизмы для обнаружения и обработки исключений значений с плавающей точкой. Возможные действия в случае возникновения floating point exception включают предупреждения, аварийное завершение работы программы или автоматическое исправление ошибок.

Для избежания возникновения исключений значения с плавающей точкой в Ansys Fluent рекомендуется проводить тщательный анализ входных данных, проверять корректность начальных условий и параметров модели, а также аккуратно настраивать параметры сходимости и точности вычислений.

Как обрабатывать floating point exception в Ansys Fluent

При работе с программой Ansys Fluent иногда может возникать ошибка «floating point exception». Эта ошибка указывает на то, что во время выполнения программы произошло деление на ноль или выполнение других арифметических операций с неправильными значениями.

Чтобы правильно обработать floating point exception в Ansys Fluent, следуйте следующим рекомендациям:

  1. Проверьте данные ввода: Убедитесь, что входные данные, такие как геометрия, граничные условия и начальные условия, заданы корректно. Неправильно заданные данные могут привести к возникновению ошибки.
  2. Проверьте сходимость расчета: Одной из причин возникновения floating point exception может быть неправильная сходимость расчета. Выполните дополнительные итерации расчета, используя различные параметры, чтобы увеличить вероятность сходимости.
  3. Избегайте слишком больших или маленьких значений: Значения параметров, таких как скорость потока, давление и температура, должны быть выбраны таким образом, чтобы они лежали в разумных пределах. Если параметры слишком велики или слишком малы, это может привести к возникновению ошибки.
  4. Используйте подходящие модели и методы расчета: В Ansys Fluent доступно множество моделей и методов расчета. Правильный выбор модели и метода может помочь избежать ошибки floating point exception. Обратитесь к документации Ansys Fluent для получения рекомендаций по выбору моделей и методов расчета.

Если после выполнения всех рекомендаций ошибка floating point exception все еще возникает, возможно, проблема связана с программным обеспечением Ansys Fluent. В этом случае лучше обратиться в службу поддержки Ansys, предоставив информацию о вашей проблеме и условиях, при которых она происходит. Они смогут предложить дополнительные рекомендации или помочь с устранением ошибки.

Техники предотвращения floating point exception в Ansys Fluent

При работе с программой Ansys Fluent могут возникать ошибки типа «floating point exception». Это связано с операциями с плавающей точкой, которые могут вызывать ошибки деления на ноль, переполнение или недопустимые операции.

Вот несколько техник, которые помогут предотвратить появление таких ошибок в Ansys Fluent:

  • Проверка начальных условий: Перед запуском расчета важно проверить начальные условия модели. Убедитесь, что везде заданы корректные значения и избавьтесь от возможных ошибок, например, деления на ноль.
  • Избегайте больших значений: Постарайтесь избегать использования очень больших значений в модели, так как это может привести к переполнению и ошибкам при расчетах. Если возможно, масштабируйте модель так, чтобы значения оставались в разумных пределах.
  • Используйте корректные значения сходимости: Ошибки с плавающей точкой могут возникать из-за неправильно заданных значений сходимости. Правильно настроенная сходимость поможет избежать проблем с вычислениями.
  • Изучайте логи и сообщения об ошибках: Внимательно следите за сообщениями об ошибках, которые выводит Ansys Fluent. Они могут содержать полезную информацию о причинах возникновения ошибок с плавающей точкой. Исследуйте логи и используйте эти сведения для определения и устранения проблемы.
  • Обновляйте программное обеспечение: Постоянно следите за обновлениями Ansys Fluent и устанавливайте их, если доступны. Обновления могут содержать исправления ошибок и улучшения, которые могут помочь предотвратить появление ошибок с плавающей точкой.

Следование этим техникам поможет снизить вероятность возникновения ошибок с плавающей точкой в Ansys Fluent и обеспечит более стабильные и точные результаты расчетов.

Решение проблемы floating point exception в Ansys Fluent

Floating point exception (или ошибка с плавающей точкой) в Ansys Fluent может возникать при выполнении сложных вычислений с плавающей точкой. Ошибка указывает на то, что в результате вычисления получено невалидное или неопределенное значение.

Для решения проблемы с floating point exception в Ansys Fluent можно предпринять следующие шаги:

  1. Обновите Ansys Fluent: Убедитесь, что у вас установлена последняя версия Ansys Fluent. Часто разработчики выпускают обновления, которые исправляют известные ошибки и проблемы.
  2. Проверьте входные данные: Убедитесь, что ваши входные данные корректны и соответствуют требованиям Ansys Fluent. Проверьте значения параметров, граничные условия, сетку и другие входные данные на наличие ошибок или несоответствий.
  3. Измените настройки вычислений: Попробуйте изменить параметры вычислений, такие как размер шага по времени или численный метод. Иногда изменение этих параметров может помочь избежать ошибки с плавающей точкой.
  4. Ограничьте значения: Если вы знаете, что некоторые значения ваших данных могут привести к ошибке с плавающей точкой, попробуйте ограничить их диапазон. Например, вы можете ограничить максимальные и минимальные значения параметров.
  5. Обратитесь в техническую поддержку: Если вы все еще сталкиваетесь с проблемой floating point exception, обратитесь в техническую поддержку Ansys. Они смогут оказать помощь и подробнее рассмотреть вашу ситуацию.

Следование вышеперечисленным шагам может помочь вам решить проблему с floating point exception в Ansys Fluent. Однако, помните, что каждая проблема может иметь свои особенности и требовать индивидуального подхода к решению. Важно быть внимательным, терпеливым и уметь анализировать данные, чтобы найти источник проблемы и принять соответствующие меры.

How to… fix error Floating Point Exception -Overflow in Ansys CFX ?

 Many times, during the implementation of numerical modeling, after completing the boundary and initial conditions and starting the solver we have to do with a sudden stop of the analysis and the appearance of an overflow message.  This is the most common type of error that occurs when performing CFD analysis.  In today’s post, I would like to present two paths to minimize the appearance of this error.

How to fix error floating point exception overflow ansys
Most often  error in CFX 

The first path will be the method most tested by me from the practical side.  It was effective in many cases where I encountered an overflow error.  The second path is the standard procedures to follow to get rid of this error.  In my opinion, two approaches should be familiarized with to have a full spectrum of knowledge about this error. It’s written in such a general way by the solver, which makes it very difficult to diagnose directly.

To accurately describe and explain the first method, I will use an example of a modeling task.  So our problem will be cooling process of the plate at a pressure of 5 bar.  For this task, we will adopt the following assumptions: we will take into account the total energy model, we will define compressible air (ideal gas) as gas, we will define the SST turbulence model, we will take into account the radiation phenomenon by adopting the Surface to Surface model and that due to the symmetry of the model we will simplify the geometry to a periodic slice.

After defining the model phenomena, the time step was set at 1 s.  Then  solver was initiated. After couple of seconds simulation was stopped with an overflow error after seven iterations.  What next steps should be taken to locate an analysis failure?  Below I will present in order from the least labor-intensive to the most-labor-intensive activity.

1. Reduce the size of the time step.  The best reduction ratio is 1:10 scale.  So in our case we reduce the step from 1 s to 0.1 s. For transient analyzes, the definition of the correct time step size is much more important than the mesh quality.  The residual equations are more responsive to the size of the time step than to the change of the grid size.  In the case of static analyzes, we have such factors to change as the pseudo transient step or the time step of the solid domain.  If the next reduction to 0.01 s has no effect, proceed to the next step.

2. Change the gas model from compressible to incompressible.  This will cause our problem to reduce its nonlinearity.  Do not be afraid of this simplification if your problem concerns low pressures and speeds.  The differences in gas models in this case should not be large.  If this modification also does not help, go to the next one.

3. If the above two points do not work in the next step, turn off the radiation model. This should greatly simplify the analysis and the partial equations will be less susceptible to mesh quality. Radiation models significantly extend the simulation time. A bad mesh may lead to the formation of non-physical temperature values (values greater than the assumed temperature in the boundary and initial conditions).

4) The next stage is to reduce the value of the assumed boundary and initial conditions. If in the analysis you have assumed a pressure of over 2 bar or values close to the phenomenon of vacuum, change this value to atmospheric pressure. Also, when it comes to temperature values (above 1200 C), reduce them by at least half. The same should be done for the initial speed (if you are analyzing high speeds over 150 m / s).

5) If all of the above steps fail, perform the last step. When you have defined symmetry or periodicity, try to do calculations for the entire model without these boundary conditions. It can be quite a laborious step requiring the reconstruction of the model, but it can bring measurable benefits in the implementation of the analysis.

After completing the above steps, if you still have a problem with the error overflow: floating point exception, try the next methods posted on the CFD Online website. Below is a link to these materials. It is worth reading the entire post because the information contained therein is extremely valuable.

Ansys FAQ — CFD-Wiki, the free CFD reference (cfd-online.com)

Автор:

ShadoWofXaoS · Опубликовано: 4 минуты назад

Так же в рамках личного опыта могу взять на себя смелость утверждать, что стойки по типу Sinumerik 840D sl следует использовать в первую очередь там, где не планируется обработка сложных 3D-контуров, но полно деталей различной номенклатуры, но с похожей геометрией. Например, кубЫ с одинаковой толщиной, но с разными размерами сторон, или наоборот: толщины разные, а контуры одинаковые. Ещё пример: фреймы отверстий. Например, в виде линий, кругов/колец, прямоугольников, решёток и т.п. В том же ключе можно обрабатывать фреймы однотипных деталей/геоэлементов. Во всех этих случаях идеально подходят циклы с параметрическим программированием, которые удобнее всего писать именно в стойках, похожих на Sinumerik 840D sl. 

How to… fix error Floating Point Exception -Overflow in Ansys CFX ?

 Many times, during the implementation of numerical modeling, after completing the boundary and initial conditions and starting the solver we have to do with a sudden stop of the analysis and the appearance of an overflow message.  This is the most common type of error that occurs when performing CFD analysis.  In today’s post, I would like to present two paths to minimize the appearance of this error.

How to fix error floating point exception overflow ansys
Most often  error in CFX 

The first path will be the method most tested by me from the practical side.  It was effective in many cases where I encountered an overflow error.  The second path is the standard procedures to follow to get rid of this error.  In my opinion, two approaches should be familiarized with to have a full spectrum of knowledge about this error. It’s written in such a general way by the solver, which makes it very difficult to diagnose directly.

To accurately describe and explain the first method, I will use an example of a modeling task.  So our problem will be cooling process of the plate at a pressure of 5 bar.  For this task, we will adopt the following assumptions: we will take into account the total energy model, we will define compressible air (ideal gas) as gas, we will define the SST turbulence model, we will take into account the radiation phenomenon by adopting the Surface to Surface model and that due to the symmetry of the model we will simplify the geometry to a periodic slice.

After defining the model phenomena, the time step was set at 1 s.  Then  solver was initiated. After couple of seconds simulation was stopped with an overflow error after seven iterations.  What next steps should be taken to locate an analysis failure?  Below I will present in order from the least labor-intensive to the most-labor-intensive activity.

1. Reduce the size of the time step.  The best reduction ratio is 1:10 scale.  So in our case we reduce the step from 1 s to 0.1 s. For transient analyzes, the definition of the correct time step size is much more important than the mesh quality.  The residual equations are more responsive to the size of the time step than to the change of the grid size.  In the case of static analyzes, we have such factors to change as the pseudo transient step or the time step of the solid domain.  If the next reduction to 0.01 s has no effect, proceed to the next step.

2. Change the gas model from compressible to incompressible.  This will cause our problem to reduce its nonlinearity.  Do not be afraid of this simplification if your problem concerns low pressures and speeds.  The differences in gas models in this case should not be large.  If this modification also does not help, go to the next one.

3. If the above two points do not work in the next step, turn off the radiation model. This should greatly simplify the analysis and the partial equations will be less susceptible to mesh quality. Radiation models significantly extend the simulation time. A bad mesh may lead to the formation of non-physical temperature values (values greater than the assumed temperature in the boundary and initial conditions).

4) The next stage is to reduce the value of the assumed boundary and initial conditions. If in the analysis you have assumed a pressure of over 2 bar or values close to the phenomenon of vacuum, change this value to atmospheric pressure. Also, when it comes to temperature values (above 1200 C), reduce them by at least half. The same should be done for the initial speed (if you are analyzing high speeds over 150 m / s).

5) If all of the above steps fail, perform the last step. When you have defined symmetry or periodicity, try to do calculations for the entire model without these boundary conditions. It can be quite a laborious step requiring the reconstruction of the model, but it can bring measurable benefits in the implementation of the analysis.

After completing the above steps, if you still have a problem with the error overflow: floating point exception, try the next methods posted on the CFD Online website. Below is a link to these materials. It is worth reading the entire post because the information contained therein is extremely valuable.

Ansys FAQ — CFD-Wiki, the free CFD reference (cfd-online.com)

Old
  February 7, 2008, 09:43

Default
ERROR: Floating point exception: Overflow

 
#1

Elisabetta

Guest

Hello everybody.

I’m running a simulation about a multiphase flow (air and dispersed water particles).

On CFX — Solver I got this error:

ERROR #001100279 has occurred in subroutine ErrAction.

Floating point exception: Overflow

Do you know which could be my mistake?

Thank you

Elisabetta

Reply With Quote

Old
  February 7, 2008, 10:00

Default
Re: ERROR: Floating point exception: Overflow

 
#2

Toralf

Guest

Hi,

that is a common question here. Please use the search function ! regards

Reply With Quote

Old
  February 7, 2008, 10:15

Default
Re: ERROR: Floating point exception: Overflow

 
#3

alpha

Guest

I am struggling with same problem. If you find the answer please let me know how you resolved the issue.

By the i am using upwind scheme and small physical time step (for steady state) to run the case and it seems to be working for now. You could try the same. Later i intend to use this solution to run my transient case.

alpha

Reply With Quote

Old
  February 7, 2008, 10:16

Default
Re: ERROR: Floating point exception: Overflow

 
#4

T

Guest

Hello,

try to change the turbulence model to SST. good luck

Reply With Quote

Old
  February 7, 2008, 11:27

Default
Re: ERROR: Floating point exception: Overflow

 
#5

Elisabetta

Guest

Hello again,

I was reading the ‘old’ post and trying the solutions you suggested me. Now I will change the turbulence model and after that i will let you know.

Thanks a lot

Elisabetta

Reply With Quote

Old
  February 7, 2008, 12:12

Default
Re: ERROR: Floating point exception: Overflow

 
#6

alpha

Guest

Hi

My solution is running now and i am not getting «floating oint exception: overflow» error anymore. However, i am not being able to achieve convergence. My resilduals become flat and i do not observe any change in them for long periods. So i am facing another issue here.

alpha

Reply With Quote

Old
  February 7, 2008, 12:42

Default
Re: ERROR: Floating point exception: Overflow

 
#7

Peter

Guest

Hi,

A few suggestions….I am also new though…

1) Check your boundary conditions. It should always be sensible. Try to keep outlets away from the critical zone.

2) Small time steps make sense. But in my experience small time step with steady state does not give much benefits. What I mean is — you decrease your time step, convergence is very slow and you loose the benefits of solving a steady state problem. Also, all the flows are actually unsteady but a few of them can be solved with steady state solver to get an average result. Now if your flow is no where close to steady state flow, then solver is forcing the equations to reach ONE steady state and then simulation start diverging. In such situations, try using transient simulation. They should go very well with High Resolution scheme with out any flow field as initial condition. And if your flow is really steady state, you can monitor a few points in your domain to see if steady state if obtained after some time.

Peter

Reply With Quote

Old
  February 7, 2008, 15:55

Default
Re: ERROR: Floating point exception: Overflow

 
#8

alpha

Guest

Thank you peter that was helpful.

alpha

Reply With Quote

Old
  February 7, 2008, 16:22

Default
Re: ERROR: Floating point exception: Overflow

 
#9

Elisabetta

Guest

Hello

I did it at the end, thanks to all of you for your answer.

My case seems working better switching the turbulence model to SST and reducing the timestep.

See you again

Bye

Elisabetta

Reply With Quote

Old
  February 21, 2008, 06:50

Default
Re: ERROR: Floating point exception: Overflow

 
#10

shehab

Guest

Hi Elisabetta : my name is shehab. I’m a PhD student in UK and I’m using the multiphase flow to simulate solid particles in water flow. I’m new here in CFX and it seems like I have the same problem you have faced here. How could you solve this problem ?. my e-mail is : shebos@hotmail.com waiting for your reply urgently. shehab

Reply With Quote

Old
  December 23, 2012, 01:19

Default
Check the units!

 
#11

Member

 

Abdul Afoo Parkar

Join Date: Oct 2012

Posts: 42

Rep Power: 12

A_Prakash is on a distinguished road

Confirm your domain extent units in .out file.

A_Prakash is offline

Reply With Quote

Old
  February 28, 2013, 09:00

Default

 
#12

Member

 

Pjotr

Join Date: Mar 2012

Posts: 30

Rep Power: 13

oewnce932c is on a distinguished road

hi.
running an open water propeller simulation in a real dimensions(D=8m, n=100 rev/min). At the beginning of calculation 15..17 Iteration
got the same problem:
ERROR #001100279 has occurred in subroutine ErrAction.
Message:
Floating point exception: Overflow

my solution was:
making timestep smaller from 0.01sek to 0.005sek

now it is running well.

oewnce932c is offline

Reply With Quote

Old
  June 12, 2013, 18:22

Default

 
#13

New Member

 

Join Date: Jun 2013

Location: California

Posts: 12

Rep Power: 11

faraday34 is on a distinguished road

Thank you for indicating your solution to the problem, Pjotr.

faraday34 is offline

Reply With Quote

Old
  January 18, 2014, 07:35

Smile
hi

 
#14

New Member

 

rea

Join Date: Jan 2014

Posts: 3

Rep Power: 11

rezamo is on a distinguished road

Quote:

Originally Posted by T
;85922

Hello,

try to change the turbulence model to SST. good luck

hi T i Read your post thanks so much

rezamo is offline

Reply With Quote

Old
  January 19, 2014, 04:57

Default

 
#15

Super Moderator

 

Glenn Horrocks

Join Date: Mar 2009

Location: Sydney, Australia

Posts: 17,330

Rep Power: 138

ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice

This is not a very useful thread. A much more complete answer to this question is in the FAQ: http://www.cfd-online.com/Wiki/Ansys…do_about_it.3F

ghorrocks is offline

Reply With Quote

Old
  March 28, 2015, 09:16

Default

 
#16

New Member

 

Suraj Marale

Join Date: Mar 2015

Posts: 14

Rep Power: 10

Suraj Marale is on a distinguished road

hello Elisabetta,
I am also working on multiphase flow (air and water).
While solving i got same error just like you. how you solved that error??? Can you please help me for that??

May be i am doing some wrong procedure for multiphase. Please tell me how you solved the problem?? If you have any tutorials please give me… or please tell, what extra boundry conditions i have to apply for multiphase flow… Please reply its urgent..

Thanks in advance… :-)

Suraj Marale is offline

Reply With Quote

Old
  March 29, 2015, 05:26

Default

 
#17

Super Moderator

 

Glenn Horrocks

Join Date: Mar 2009

Location: Sydney, Australia

Posts: 17,330

Rep Power: 138

ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice

Elisabetta’s post was over 7 years ago. There is not many people who hang around forums for that long. Dinosaurs like me are a rare exception.

Did you read the FAQ I linked to? It gives some detail about what the problem is and what to do about it.

ghorrocks is offline

Reply With Quote

Old
  March 29, 2015, 09:52

Default

 
#18

New Member

 

Suraj Marale

Join Date: Mar 2015

Posts: 14

Rep Power: 10

Suraj Marale is on a distinguished road

Yep, I read the FAQ and tried with the different methods which are discussed in that.. but still i am getting the errors,.. may be i did some mistakes in boundry conditions.. something might be missing in boundry condition…
Thats why i am asking for the tutorial for air and water mixture.. so that i can check my boundry conditions…

And something you are talking about tutorials available at ansys customer website, is it same as ansys help tutorials or different???? because there are no tutorials available regarding air and water mixture in ansys help….

please find your valuable time for me and can you please check it and give me the link of tutorials which are available at ansys customer website???
.
Thanks .. waiting for reply…

Suraj Marale is offline

Reply With Quote

Old
  March 29, 2015, 18:11

Default

 
#19

Super Moderator

 

Glenn Horrocks

Join Date: Mar 2009

Location: Sydney, Australia

Posts: 17,330

Rep Power: 138

ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice

ghorrocks is offline

Reply With Quote

Old
  March 30, 2015, 06:34

Default

 
#20

New Member

 

Suraj Marale

Join Date: Mar 2015

Posts: 14

Rep Power: 10

Suraj Marale is on a distinguished road

thanks for the link glenn, I will check..

Suraj Marale is offline

Reply With Quote

Ошибка расчета CFX и соответствующее решение (ошибка с плавающей запятой и т. Д. Обновления)

1.CFX Ошибка плавающей точки.

Численное расчет слишком велик, а количество плавучих цифр недостаточно. Используйте данные расчета двойного типа двойного типа. Проверьте расчет двойного назначения и решение проблем.

2. Проверьте, восстановить граничные условия изолированно

*** isolated fluid regions were found in domain Gaps(*****) If you are sure that the pressure level is set in each isolated fluid region then you can force the solver to turn off this check
by setting the expert parameter “check isolated regions = f”.

Нашел изолированный домен расчетов, решите метод: проверьте, выделяется ли он для восстановления граничных условий, если это действительно изолированная граница, насильственно отменила проверку этого.

insert->solver->expert parameter

изменить t как f в соответствии с подсказками

3. Floating point exception: Invalid number

Скорость потока пограничного слоя слишком низкая, чтобы рассчитать турбулентность. Решение: отказаться от модели турбулентности и использовать модели потока слоев.

Понравилась статья? Поделить с друзьями:
  • Floating point division by zero ошибка при удалении
  • Floating point division by zero delphi ошибка
  • Float object is not subscriptable python ошибка
  • Float object is not iterable python ошибка
  • Float object is not callable ошибка