CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

using DEFINE_ADJUST to calculate source term

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 30, 2006, 04:02
Default using DEFINE_ADJUST to calculate source term
  #1
shuqin
Guest
 
Posts: n/a
hi every! I want to add some calculated values as source term to species transport equation and I settle this by employing DEFINE_ADJUST to calculate the value and store it in udm ,and then retrieve it in DEFINE_SOURCE,ACCESS VIOlATION error came out,and when only use DEFINE_ADJUST to calculate the value and store it in udm without evaluating in DEFINE_SOURCE ,I can plot the conters of the udm,why I cannot use it in DEFINE_SOURCE? Any suggestions?
  Reply With Quote

Old   March 30, 2006, 20:17
Default Re: using DEFINE_ADJUST to calculate source term
  #2
KP
Guest
 
Posts: n/a
Did you allocate memory properly? KP
  Reply With Quote

Old   March 30, 2006, 20:33
Default Re: using DEFINE_ADJUST to calculate source term
  #3
shuqin
Guest
 
Posts: n/a
yes,I did,I can even plot the contours of udm when not retrieving in the DEFINE_SOURCE. but anyway,thanks for your attention!
  Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem of SOURCE term gradient in UDS wind Fluent UDF and Scheme Programming 5 June 21, 2013 05:39
Compiling gmshFoam with OpenFOAM-1.5 BlGene Open Source Meshers: Gmsh, Netgen, CGNS, ... 10 August 6, 2009 04:26
Adding a momentum source term segersson OpenFOAM Running, Solving & CFD 5 March 3, 2006 00:06
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 13, 2000 23:03
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 11, 2000 03:43


All times are GMT -4. The time now is 08:54.