CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF DEFINE_SPECIFIC_HEAT after loading - fluent closed automatically

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 31, 2020, 06:13
Question UDF DEFINE_SPECIFIC_HEAT after loading - fluent closed automatically
  #1
New Member
 
Eva Knahl
Join Date: Dec 2020
Location: Germany
Posts: 6
Rep Power: 5
EvaKn is on a distinguished road
Hello,



I have a Problem with a UDF for specific heat.

I can built and load the udf and in the Material Dialog I can choose the udf.

Now when i want to assign the udf, it loads briefly and right after that fluent closes automatically. Why does this happen?

In the UDF I also define density, sound of speed, thermal conductivity and viscosity with DEFINE_PROPERTY - this works perfectly...



How can I fix this? Do I have a Mistake in the UDF?

only the DEFINE_SPECIFIC_HEAT part

eth-cpL.c

Thanks in advance for the help!
EvaKn is offline   Reply With Quote

Old   December 31, 2020, 09:24
Default
  #2
Senior Member
 
rupak504's Avatar
 
Lolita
Join Date: Aug 2016
Posts: 118
Rep Power: 10
rupak504 is on a distinguished road
Quote:
Originally Posted by EvaKn View Post
Hello,



I have a Problem with a UDF for specific heat.

I can built and load the udf and in the Material Dialog I can choose the udf.

Now when i want to assign the udf, it loads briefly and right after that fluent closes automatically. Why does this happen?

In the UDF I also define density, sound of speed, thermal conductivity and viscosity with DEFINE_PROPERTY - this works perfectly...



How can I fix this? Do I have a Mistake in the UDF?

only the DEFINE_SPECIFIC_HEAT part

Attachment 81846

Thanks in advance for the help!
are you using any UDM in your UDF?
rupak504 is offline   Reply With Quote

Old   December 31, 2020, 09:29
Default
  #3
New Member
 
Eva Knahl
Join Date: Dec 2020
Location: Germany
Posts: 6
Rep Power: 5
EvaKn is on a distinguished road
Quote:
Originally Posted by rupak504 View Post
are you using any UDM in your UDF?

No, I am not using any UDM.
EvaKn is offline   Reply With Quote

Old   January 3, 2021, 19:13
Default
  #4
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
remove line
Code:
T = C_T(c,t);
from your code, T is defined in header
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Reply

Tags
define_specific_heat, fluent closing, fluent parallel, udf


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic contact angle issue: fluent UDF couldn't set the correct contact angle FelixJJ FLUENT 2 October 20, 2021 03:39
UDF Compilation Error - Loading Library - COMMON Problem! Help! robtheslob Fluent UDF and Scheme Programming 8 July 24, 2015 01:53
Fluent UDF for thermal NOx larsschwarzer Fluent UDF and Scheme Programming 1 July 18, 2014 09:39
Creating UDF and loading it in ANSYS Fluent singingfish Fluent UDF and Scheme Programming 1 February 7, 2014 13:10
The fluent stopped and errors with "Emergency: received SIGHUP signal" yuyuxuan FLUENT 0 December 3, 2013 23:56


All times are GMT -4. The time now is 21:37.