|
[Sponsors] |
how to write user fortran for turbulence model |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 9, 2009, 10:52 |
how to write user fortran for turbulence model
|
#1 |
Senior Member
|
Hi everyone
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? thanks yours wayne |
|
July 9, 2009, 11:51 |
|
#2 |
Senior Member
Michael P. Owen
Join Date: Mar 2009
Posts: 196
Rep Power: 17 |
I believe that you don't need FORTRAN for this. You can just use a subdomain and volumetric source for the omega equation.
|
|
July 10, 2009, 02:55 |
|
#3 |
Senior Member
|
Hi
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/DOMAINitzDaily/SUBDOMAIN:Subdomain 1/SOURCES/EQUATION SOURCE:tef'. <img src="crit.png">Parameter 'Source' in object '/FLOW/DOMAINitzDaily/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? Last edited by waynezw0618; July 10, 2009 at 12:13. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Comparison between C/C++ and Fortran? | rick | Main CFD Forum | 45 | September 6, 2011 01:52 |
user routine, user funcion, or fortran compile effect on the memroy? | princeps11 | CFX | 1 | May 13, 2009 19:37 |
Double precision & User Fortran | Martijn | CFX | 3 | April 4, 2009 06:43 |
user fortran: boundary conditions-transient simula | Vanessa | CFX | 0 | October 20, 2005 10:23 |
User FORTRAN: USER_GET_MESH_DATA | Yuko | CFX | 0 | October 28, 2004 05:08 |