how to write user fortran for turbulence model
for i am using ANSYS CFX 110, i donot have rotating and curvture modification compared with CFX 120. i want to add some modification to SST model in CFX 110. according to a reference paper (rotation and curve modification of SST model by Richardeson number defined in the A.Hellsten`s paper(AIAA A98-32817), it is easy to add this modification by only a new coefficient "F4",which is defined based on Richardeson number to term beta*omega^2. so i think what i should do is to add "-beta*omega^2+F4*beta*omega^2" to the source of omega eqution. I have try this modification also the new model in CFX 120 in OpenFOAM.and it seems really useful. and now i want to do this in CFX for carefully comparation for my other result from CFX.but i have almost no experience in user fortran. so would mind give me some example?
I believe that you don't need FORTRAN for this. You can just use a subdomain and volumetric source for the omega equation.
Thanks for your reply,i have try it just now.but unfortranitaly ,i get error message in cfx-pre as:
<img src="crit.png">Non-scalar variable 'vorticity' referenced in parameter 'Source' in object '/FLOW/DOMAIN:pitzDaily/SUBDOMAIN:Subdomain 1/SOURCES/EQUATION SOURCE:tef'.
<img src="crit.png">Parameter 'Source' in object '/FLOW/DOMAIN:pitzDaily/SUBDOMAIN:Subdomain 1/SOURCES/EQUATION SOURCE:tef' has been assigned an expression that references the following unavailable variables: sstbf1
Non-scalars are only allowed as arguments to integrated quantity functions.
and all this errors is Maroon with red cross before, but the solver could still run. i am not sure if this modification is applied or not..how can do?
|All times are GMT -4. The time now is 06:21.|