|
[Sponsors] |
March 30, 2006, 05:02 |
using DEFINE_ADJUST to calculate source term
|
#1 |
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?
|
|
March 30, 2006, 21:17 |
Re: using DEFINE_ADJUST to calculate source term
|
#2 |
Guest
Posts: n/a
|
Did you allocate memory properly? KP
|
|
March 30, 2006, 21:33 |
Re: using DEFINE_ADJUST to calculate source term
|
#3 |
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!
|
|
|
|
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 |