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

Turbulent Prandtl Number as function of Density

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 16, 2016, 11:44
Default Turbulent Prandtl Number as function of Density
  #1
New Member
 
Gaspare M
Join Date: May 2014
Location: Palermo - Italy
Posts: 5
Rep Power: 12
cfd_user_gaspare is on a distinguished road
Hi everybody!

Thank you for your support.
I have problem to use and expression with Density variable on the Turbulent Prandtl Number during a STEADY and TRANSIENT simulation.

CFX-Solver crashes immediately with this error:

----------------------------------
Error in subroutine GETCORE :
There is circularity in recursive calls to GETVAR. A variable depends upon
itself! Oper = What = Static Enthalpy Where = Default Domain When = TIME-0
Action = RETURN. Stopping
GETVAR originally called by subroutine DEF_DIFTRBC

+--------------------------------------------------------------------+
| Writing crash recovery file |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction.
| Message:
| Stopped in routine GETCORE
| |
+--------------------------------------------------------------------+

I tried to create a new variable with Density and to set this with the "special function" of " Update Loop = TRANS_LOOP" (during TRANS simulations) but it does not work the same.

I think it's necessary to create a Junction Box Routine (to call every time-step) to save a additional variable of density at the preceding iteration...

Can anyone help me to create a Junction Box routine?
Ansys CFX manual was not useful for me to understand well how to create a FORTRAN routines...

Thank you for your time.
Best regards,
Gaspare
cfd_user_gaspare is offline   Reply With Quote

Reply

Tags
001100279, cfx + fortran, getcore, getvar, prandtl number


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
[mesh manipulation] Mesh Refinement Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Meshing & Mesh Conversion 42 January 8, 2017 13:55
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 14:38
compressible flow in turbocharger riesotto OpenFOAM 50 May 26, 2014 02:47
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
Unaligned accesses on IA64 andre OpenFOAM 5 June 23, 2008 11:37


All times are GMT -4. The time now is 17:41.