|
[Sponsors] |
Error when initializing the simulation using UDF |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 27, 2016, 08:00 |
Error when initializing the simulation using UDF
|
#1 |
New Member
AVINASH
Join Date: Sep 2016
Posts: 2
Rep Power: 0 |
Hi everyone,
Fluent show an error when I initialize the simulation. "Error: received a fatal signal (Segmentation fault)." "Error Object: #f" I am using UDF for temperature dependent property of water. Can anyone tell me how to remove this error. The UDF I am using for temperature dependent density is as follow: #include "udf.h" DEFINE_PROPERTY(water_density, cell, thread) { real den; real t = C_T(cell,thread); den=1000*(1-(((t+15.9414)*pow(t-276.9863,2)) / (508929.2*(t-204.87037)))); return den; } Thank you |
|
January 3, 2017, 05:24 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
The UDF wants to read temperature, but that is not calculated yet, because you are initializing.
The solution that requires no programming: first initialize, then load the UDF. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bubble column simulation with Lift coefficient UDF | raju.vadlakonda | Fluent UDF and Scheme Programming | 8 | June 19, 2023 09:36 |
Help with unsteady calculation with source/sink UDF | RobV | Fluent UDF and Scheme Programming | 3 | March 10, 2016 04:45 |
Workbench/Fluent: Automatically Initializing Transient Simulation from Steady-State | axip | ANSYS | 1 | June 28, 2013 06:16 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
Hooking UDF for membrane simulation | ehkhor | FLUENT | 0 | April 28, 2010 05:49 |