Download Introduction to FLUINT

Transcript
tine is initiated. (This method is not necessary when using Sinaps® or FloCAD®, since those
codes enable individual paths and lumps in a macro to be edited.) The new block becomes:
HEADER OPERATIONS
BUILDF ALL
BUILD ALL
CHAMBRS.FK100 = 0.5
CALL TRANSIENT
$ INITIALIZE INLET LOSS ON FIRST PATH
$ START A TRANSIENT ANALYSIS
Since OPERATIONS is executed sequentially, the value of FK for path 100 in fluid submodel
CHAMBRS (“CHAMBRS.FK100”) is initialized to 0.5 before the transient solution begins.
“CHAMBRS.FK100” could be simplified to “FK100” if SINDA/FLUINT knew which submodel name applied. The default submodel name can be set using the DEFMOD command
as follows:
HEADER OPERATIONS
BUILDF ALL
BUILD ALL
DEFMOD CHAMBRS
FK100 = 0.5
CALL TRANSIENT
$ INITIALIZE INLET LOSS ON FIRST PATH
$ START A TRANSIENT ANALYSIS
Notice that submodel prefixes and DEFMOD commands were not necessary in the logic that
was listed at the end of the OUTPUT CALLS block (e.g., “PL1” etc.). The reason is because
that block was already specific to the submodel CHAMBRS. If a wall node temperature had
been referenced within that block, or some variable from another fluid submodel, then submodel prefix would have been required (e.g., “WALL.T3”).
Complete Input File and Results--The complete input file for the expansion of the original
problem to include the mass of the tube wall is as follows:
HEADER OPTIONS DATA
TITLE TWO CHAMBERS WITH VALVED CONNECTING LINE
OUTPUT = chambers.out
C
HEADER REGISTER DATA
length = 10.0
diam = 0.5/12.0
area = 0.25*pi*diam**2
throat = 0.1/144.0
pinit = 11.0
tinit1 = 200.0
tinit2 = 400.0
dens = 170.0
cond = 95.0
cp
= 0.21
tinitw = 300.0
outerd = 0.6/12.0
apipe = 0.25*pi*(outerd^2 - diam^2)
C
INSERT f6070_water.inc
Introduction to FLUINT
V5.6 Rev. 1 12/13/12
Page 25 of 42