CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Anyone know DUNS? (https://www.cfd-online.com/Forums/main/9569-anyone-know-duns.html)

zjuADou July 24, 2005 23:08

Anyone know DUNS?
 
I want to learn DUNS code. I have the test case named 'airfoil' which is originally for subsonic flow and I want to compute supersonic flow by using it. The following is my new script2 file:

# This is the input deck for the DUNS-2.4-alpha # Generated by Douglas Schwer 4/30/00 # # ************************************************** ************* # Specify solution domain by reading in a grid/connectivity file # ************************************************** *************

grid

formatted # # ************************************************** ************* # Select flow type (necessary) # ************************************************** ************* #

flow-field

viscous

turbulent # # ************************************************** ************* # Select gas model and properties for the gas # ************************************************** ************* #

gas-properties

compressible

gas-constant 287.

gamma 1.4

viscosity 1e-5

prandtl-number 0.7 # # ************************************************** ************* # Specify turbulent parameters # ************************************************** ************* #

turbulence

prandtl-number 1. # # ************************************************** ************* # Initialize the flow field to begin simulation # ************************************************** ************* #

initialize

pressure 0.7e5

temperature 350.

u-velocity 408.

turbulent-intensity 0.012

turbulent-viscosity 7.e-5 # # ************************************************** ************* # Set up boundary conditions for the flow field (necessary) # ************************************************** ************* #

boundary-conditions

surface 1

viscous-wall

adiabatic #

surface 2

inviscid-wall

adiabatic #

surface 3

inviscid-wall

adiabatic #

surface 4

supersonic-outflow #

surface 5

supersonic-inflow

mach-number 1.2

temperature 350

pressure 0.7e5

turbulent-intensity 0.012

turbulent-viscosity 7.e-5 # # ************************************************** ************* # Spatial accuracy of flow field # ************************************************** ************* #

spatial-accuracy

third # # ************************************************** ************* # Select type of preconditioning # ************************************************** ************* #

precondition

inviscid on

viscous on

pressure 0.7e5

velocity 408. # # ************************************************** ************* # This will actually run a simulation for 1200 steps # ************************************************** ************* #

run

min-cfl

max-vnn

cfl 1.0

vnn 0.2

print-conv 5

print-rstrt 100

steps 1000 # # ************************************************** ************* # Save results in a new file # ************************************************** ************* #

save-restart

filename save # # ************************************************** ************* # Save plotting file # ************************************************** ************* #

save-plotting

filename save

cell-vertices

variables "u v p t tke nut"

quit

Help me.

zjuADou July 24, 2005 23:12

Re: Anyone know DUNS?
 
to be continued: I got wrong info with my new script2 file: Program is stopping due to non-physical temperatures.

What is wrong?


All times are GMT -4. The time now is 16:50.