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

using DEFINE_ADJUST to calculate source term

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 30, 2006, 05: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, 21: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, 21: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


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
Problem of SOURCE term gradient in UDS wind Fluent UDF and Scheme Programming 6 December 1, 2022 15:21
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 BlGene OpenFOAM Meshing & Mesh Conversion 10 August 6, 2009 05: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 14, 2000 00:03
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 11, 2000 04:43


All times are GMT -4. The time now is 10:27.