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

UDF For Electrical Conductivity Not working

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 8, 2016, 12:39
Default UDF For Electrical Conductivity Not working
  #1
New Member
 
abhay
Join Date: Aug 2010
Posts: 9
Rep Power: 16
rage is on a distinguished road
Hello All,

I was trying to create a UDF for electrical conductivity in a multiphase MHD simulation using DEFINE_PROPERTY. While the UDF gets compiled and loaded. It gives me an error as soon as I initialize/run or try to plot electrical conductivity.
This is not working even if I give a constant as return in the UDF.
The error I get is , "Error: received a fatal signal (Segmentation fault)."
I am using 17.1.

Thanks in anticipation.
rage is offline   Reply With Quote

Old   December 9, 2016, 07:16
Default
  #2
Senior Member
 
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 13
Bruno Machado is on a distinguished road
Quote:
Originally Posted by rage View Post
Hello All,

I was trying to create a UDF for electrical conductivity in a multiphase MHD simulation using DEFINE_PROPERTY. While the UDF gets compiled and loaded. It gives me an error as soon as I initialize/run or try to plot electrical conductivity.
This is not working even if I give a constant as return in the UDF.
The error I get is , "Error: received a fatal signal (Segmentation fault)."
I am using 17.1.

Thanks in anticipation.
this probably means you are trying to access something that is not available (yet). For example, this happens when you use a gradient in the initialization process.

Check if all the information you use in your UDF is available.
Bruno Machado is offline   Reply With Quote

Old   December 9, 2016, 10:03
Default
  #3
New Member
 
abhay
Join Date: Aug 2010
Posts: 9
Rep Power: 16
rage is on a distinguished road
Hi,
Thanks for the response. I have checked that. I just tried returning a constant value from UDf but it still did not work.
In fact, the same udf when applied to any other material property is working but not for elec cond.

Quote:
Originally Posted by Bruno Machado View Post
this probably means you are trying to access something that is not available (yet). For example, this happens when you use a gradient in the initialization process.

Check if all the information you use in your UDF is available.
rage is offline   Reply With Quote

Reply

Tags
electrical conductivity, fluent - udf, mhd, 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
UDF for thermal conductivity relation of nano fluid ngonbadipoor@yahoo.com Fluent UDF and Scheme Programming 29 April 1, 2017 04:02
I need one simple udf code for effective thermal conductivity of nanofluid mvf Fluent UDF and Scheme Programming 1 February 10, 2017 20:05
Serial UDF is working for parallel computation also Tanjina Fluent UDF and Scheme Programming 0 December 26, 2013 19:24
UDF is working in Laptop, but not working in Serial Cluster Tanjina Fluent UDF and Scheme Programming 0 December 20, 2013 22:42
Can wemodify effective thermal conductivity by UDF FengYun FLUENT 2 October 27, 2005 06:28


All times are GMT -4. The time now is 16:25.