CFX_基础教程 (1)

Embed Size (px)

Citation preview

  • 7/24/2019 CFX_ (1)

    1/98

    CFX 5.7

    2004 ANSYS Inc.1-1

    CFD

    CFX 5.7

    CEL

  • 7/24/2019 CFX_ (1)

    2/98

    CFX 5.7

    2004 ANSYS Inc.1-2

    CFD

  • 7/24/2019 CFX_ (1)

    3/98

    CFX 5.7

    2004 ANSYS Inc.1-3

    CFD?

    CFD CFD

    CFX-5.7

    CFX-5

    CFX-5

    CFX-5 CFX -5

  • 7/24/2019 CFX_ (1)

    4/98

    CFX 5.7

    2004 ANSYS Inc.1-4

    CFD?

    CFD

    Computational Fluid

    Dynamics

    CFD

    Coal combustion in a multi-burner furnace.

    Courtesy of International Combustion Limited

  • 7/24/2019 CFX_ (1)

    5/98

    CFX 5.7

    2004 ANSYS Inc.1-5

    CFD

    1970sCFD

    .

    1980s- CFD,

    -CFDCFD

  • 7/24/2019 CFX_ (1)

    6/98

    CFX 5.7

    2004 ANSYS Inc.1-6

    CFD

  • 7/24/2019 CFX_ (1)

    7/98

    CFX 5.7

    2004 ANSYS Inc.1-7

    ,

    ,

    CFD

  • 7/24/2019 CFX_ (1)

    8/98

    CFX 5.7

    2004 ANSYS Inc.1-8

    ,,

  • 7/24/2019 CFX_ (1)

    9/98

    CFX 5.7

    2004 ANSYS Inc.1-9

    = -

    :

    0= +

    d v At

    dcv cs

    , 1D,

    ( ) ( )01 2

    =

    AV AV

  • 7/24/2019 CFX_ (1)

    10/98

    CFX 5.7

    2004 ANSYS Inc.1-10

    F

    d m

    dt d dcv cs = = +

    ( )v

    t v vv A

    = +

    -

    : , 1D,

    F P A P A mV) mV)

    m = AV

    x 1 1 2 2 2 1+ = ( (

  • 7/24/2019 CFX_ (1)

    11/98

    CFX 5.7

    2004 ANSYS Inc.1-11

    ( )Q Wt

    d + v A =

    e H dcv cs

    - =

    +-

    : 1D

    Q W 0 (mH) (mH)2 1 = +

    AV=mH

    2

    v+u=

    2

    Pe

    gze

    +=

    +

  • 7/24/2019 CFX_ (1)

    12/98

    CFX 5.7

    2004 ANSYS Inc.1-12

    ,

    ,

    ,

    - :

  • 7/24/2019 CFX_ (1)

    13/98

    CFX 5.7

    2004 ANSYS Inc.1-13

    - ()

    -

    -

    - ,,

    - CFX5

  • 7/24/2019 CFX_ (1)

    14/98

    CFX 5.7

    2004 ANSYS Inc.1-14

    Example: 2D Heat ConductionT=50

    =2

    0TT=100 T=0

    q=0

    =

    =

    + =

    q

    q = -k T

    for k = constant

    T

    orT

    x

    T

    y

    2

    2 2

    0

    0

    02 2

    -

    - :(),,

  • 7/24/2019 CFX_ (1)

    15/98

    CFX 5.7

    2004 ANSYS Inc.1-15

    :

    -

    - ()- :

    >

    >

    Gauss

    >

    > ,

    >

    >

    > ,

  • 7/24/2019 CFX_ (1)

    16/98

    CFX 5.7

    2004 ANSYS Inc.1-16

    :

    - ,:

    - ,-

    - -

    -

    -

    -

  • 7/24/2019 CFX_ (1)

    17/98

    CFX 5.7

    2004 ANSYS Inc.1-17

    :

    - ,

    -

    -

  • 7/24/2019 CFX_ (1)

    18/98

    CFX 5.7

    2004 ANSYS Inc.1-18

    CFX-5.7

    / /

    / ()

    /

    /

    GGI)

  • 7/24/2019 CFX_ (1)

    19/98

    CFX 5.7

    2004 ANSYS Inc.1-19

    CFX 5

    CFX-5

    -

    -

    -

    -

    - -

    -

    - ...

  • 7/24/2019 CFX_ (1)

    20/98

    CFX 5.7

    2004 ANSYS Inc.1-20

    .

  • 7/24/2019 CFX_ (1)

    21/98

    CFX 5.7

    2004 ANSYS Inc.1-21

    .

    CFX

    Expression

    Language (CEL)

    .

  • 7/24/2019 CFX_ (1)

    22/98

    CFX 5.7

    2004 ANSYS Inc.1-22

    .

    k-

  • 7/24/2019 CFX_ (1)

    23/98

    CFX 5.7

    2004 ANSYS Inc.1-23

    .

    .

  • 7/24/2019 CFX_ (1)

    24/98

    CFX 5.7

    2004 ANSYS Inc.1-1

  • 7/24/2019 CFX_ (1)

    25/98

    CFX 5.7

    2004 ANSYS Inc.1-2

    CFX-5

  • 7/24/2019 CFX_ (1)

    26/98

    CFX 5.7

    2004 ANSYS Inc.1-3

    F22

    . CFX-5

    0.95.Geometry and grid provided by DaimlerChrysler Aerospace AG

  • 7/24/2019 CFX_ (1)

    27/98

    CFX 5.7

    2004 ANSYS Inc.1-4

    )

    Ensight

  • 7/24/2019 CFX_ (1)

    28/98

    CFX 5.7

    2004 ANSYS Inc.1-5

    CFX5.7

    Step I:-

    - 2D3D)

    -

    Step II: - CFX-Pre

    -

    -

    -

    Step III:

    - CFX-Solve-

    Step IV: - CFX-Post

    -

  • 7/24/2019 CFX_ (1)

    29/98

    CFX 5.7

    2004 ANSYS Inc.1-6

    .- (,,

    ,)

    - (,,

    ,)- (,

    ,,,)

    -

    II.

    CFX-Pre

  • 7/24/2019 CFX_ (1)

    30/98

    CFX 5.7

    2004 ANSYS Inc.1-7

    III.

    CFXCFX--55

    -

  • 7/24/2019 CFX_ (1)

    31/98

    CFX 5.7

    2004 ANSYS Inc.1-8

    IV:

    CFX-Post-

    -

    -

    -

  • 7/24/2019 CFX_ (1)

    32/98

    CFX 5.7

    2004 ANSYS Inc.1-9

    CFX-Pre GUI

    Tools Menu

    Bar

    Define

    Menu

    Bar

    Object

    Selector

    Physics

    Error

    Summary

    Viewer

  • 7/24/2019 CFX_ (1)

    33/98

    CFX 5.7

    2004 ANSYS Inc.1-10

    CFX-5.7

    CFX-5 Solver

    Manager

    CFX-Post

    ---.res---.def

    ---.gtm

    CFX-5 Solver---.def

    ---.res (binary)

    ---.out (ascii)

    CFX-Prename.cfx

    Cfx.##.pre

    Third Party

    Meshes

    --- CFX-4--- TASCflow

    --- ICEM

    --- .

  • 7/24/2019 CFX_ (1)

    34/98

    CFX 5.7

    2004 ANSYS Inc.1-11

    CFX 5.7

    .cfx CFX-Precase

    .pre CFX-Pre session .def CFX-Pre CFX-Post

    .res .def

    .out

  • 7/24/2019 CFX_ (1)

    35/98

    CFX 5.7

    2004 ANSYS Inc.1-12

    CFD - Computational Fluid

    Dynamics CFD

    CFX-5

    - -

    -

    CFX-Pre

  • 7/24/2019 CFX_ (1)

    36/98

    CFX 5.7

    2004 ANSYS Inc.2-1

    CFX-5.7

    C

  • 7/24/2019 CFX_ (1)

    37/98

    CFX 5.7

    2004 ANSYS Inc.2-2

    CFX-5

    .def

    CFX-Post

    CFX P

  • 7/24/2019 CFX_ (1)

    38/98

    CFX 5.7

    2004 ANSYS Inc.2-3

    CFX5 CFX-Pre

    case

    - , File New Simulation

    - New Case File Namemixer- Save

    CFX-Pre

    M h I

  • 7/24/2019 CFX_ (1)

    39/98

    CFX 5.7

    2004 ANSYS Inc.2-4

    Mesh Import

    Import Mesh

    Import Mesh Mesh Format CFX-5 GTM File

    Browsemixer.gtmSelect File for Import

    OpenImport Mesh OK

    CFX P

  • 7/24/2019 CFX_ (1)

    40/98

    CFX 5.7

    2004 ANSYS Inc.2-5

    CFX-Pre

    C ti th Fl id D i

  • 7/24/2019 CFX_ (1)

    41/98

    CFX 5.7

    2004 ANSYS Inc.2-6

    Creating the Fluid Domain

    Domains

    Define DomainName

    mixer OK

    Domain:mixerGeneralOptions

    - Fluid ListWater at 25 C

    - Relative Pressure 1 atm

    C ti th Fl id D i

  • 7/24/2019 CFX_ (1)

    42/98

    CFX 5.7

    2004 ANSYS Inc.2-7

    Creating the Fluid Domain

    Edit Domain:mixer Fluid Models Fluid Models

    - Heat Transfer Model Thermal Energy.

    - Turbulence Model Zero Equation

    - OK

  • 7/24/2019 CFX_ (1)

    43/98

    CFX 5.7

    2004 ANSYS Inc.2-8

    Creating the Boundary Conditions

    Boundary Conditions

    Namein1Define

    Boundary OK Edit Boundary:in1 in

    Domain:mixer Basic

    Settings - Boundary Type Inlet.

    - Location inlet1

  • 7/24/2019 CFX_ (1)

    44/98

    CFX 5.7

    2004 ANSYS Inc.2-9

    Edit Boundary:in1 in

    Domain:mixerBoundary

    Details

    Boundary Details- Normal Speed 2.0 m/s.

    - Static Temperature 315 K

    - OK

    in2inlet22.0 m/s

    285 K

    out

    outlet Average Static Pressure

    0.0 Pa

    Creating the Boundary Conditions

    S tti I iti l G

  • 7/24/2019 CFX_ (1)

    45/98

    CFX 5.7

    2004 ANSYS Inc.2-11

    Setting an Initial Guess

    Global Initialization.- Automatic.

    - -OK-.

  • 7/24/2019 CFX_ (1)

    46/98

    CFX 5.7

    2004 ANSYS Inc.2-12

    Setting Solver Parameters

    Solver Control Timescale Control

    Physical Timescale

    Physical Timescale 5 s Max. No. Iterations

    50

    OK

    Writing a Definition File def

  • 7/24/2019 CFX_ (1)

    47/98

    CFX 5.7

    2004 ANSYS Inc.2-13

    Writing a Definition File

    def

    Write Definition File.

    - File Namemixer.def.

    - Operation Start SolverManager.

    - Quit CFX-Pre.

    - OK

    Save Changes Yes

    cfx

    R i th S lR i th S l

  • 7/24/2019 CFX_ (1)

    48/98

    CFX 5.7

    2004 ANSYS Inc.2-14

    Running the SolverRunning the Solver

    -Start Run CFX-5 Solver.

    R i th S l

  • 7/24/2019 CFX_ (1)

    49/98

    CFX 5.7

    2004 ANSYS Inc.2-15

    Running the Solver

    CFX-5 Solver.

    -

    OK.

    Geometr O tline

  • 7/24/2019 CFX_ (1)

    50/98

    CFX 5.7

    2004 ANSYS Inc.2-16

    Geometry Outline

    solver manager Post CFX-Post

    Run with ResultsCFX-Post*

    .

    - .- Object Selector Window

    Wirefame,

    wireframe Object Editor

    .

    - edge angle 0 degrees

    -Apply-.

  • 7/24/2019 CFX_ (1)

    51/98

    CFX 5.7

    2004 ANSYS Inc.2-17

    Mesh Quality Check

  • 7/24/2019 CFX_ (1)

    52/98

    CFX 5.7

    2004 ANSYS Inc.2-18

    Mesh Quality Check

    Minimum Face Angle

    - Tools>Mesh Calculator

    - Mesh Calculator,FunctionMinimum

    Face Angle Calculate

    Mesh Q alit Check

  • 7/24/2019 CFX_ (1)

    53/98

    CFX 5.7

    2004 ANSYS Inc.2-19

    Mesh Quality Check

    Point

    - Create>Point

    - , Point 1,

    OK- PointGeometry

    Option Variable

    Minimum

    - Variable

    Minimum Face Angle

    - Symbol Size 2

    - Color Color

    Selector

    - Apply

    Mesh Quality Check

  • 7/24/2019 CFX_ (1)

    54/98

    CFX 5.7

    2004 ANSYS Inc.2-20

    Mesh Quality Check

    C ti Sli Pl

  • 7/24/2019 CFX_ (1)

    55/98

    CFX 5.7

    2004 ANSYS Inc.2-21

    Creating a Slice Plane

    - Object SelectorPoint 1

    - WireframeObject EditorEdge

    Angle 45 degree- Create Plane. ( Create>Plane)

    - New Planenameslice

    OK.- Object EditorMethod

    Point and Normal.

    - point(0,0,1)

    - Normal (0,0,1)

    C ti Sli Pl

  • 7/24/2019 CFX_ (1)

    56/98

    CFX 5.7

    2004 ANSYS Inc.2-22

    Creating a Slice Plane

    - Object editorColour

    - Mode Variable

    - Variable

    Temperature

    - -Apply-

    Creating a Legend

  • 7/24/2019 CFX_ (1)

    57/98

    CFX 5.7

    2004 ANSYS Inc.2-23

    Creating a Legend

    - Create Legend

    . (

    Create>Legend)

    - New Legendslice

    legend OK

    - object editorDefinition

    slice

    - -Apply-

    Slice Plane

  • 7/24/2019 CFX_ (1)

    58/98

    CFX 5.7

    2004 ANSYS Inc.2-24

    Slice Plane

    Contours

  • 7/24/2019 CFX_ (1)

    59/98

    CFX 5.7

    2004 ANSYS Inc.2-25

    Contours

    - Contour Plot

    . (

    Create>Contour)- New Contourslice

    contour OK

    - Object EditorLocation

    slice

    - variableTemperature

    - -Apply-

    -

    slice.

    Contours

  • 7/24/2019 CFX_ (1)

    60/98

    CFX 5.7

    2004 ANSYS Inc.2-26

    Contours

    Animating

  • 7/24/2019 CFX_ (1)

    61/98

    CFX 5.7

    2004 ANSYS Inc.2-27

    Animating

    - slice contour

    - slice.

    - Animation icon.- Animation EditorNew Key

    Frame - KeyFrameNo 1

    - Object Selectorslice

    (0,0,-1.99)

    -Apply-

    - Animation EditorNew KeyFrame - KeyFrameNo 2

    Animating

  • 7/24/2019 CFX_ (1)

    62/98

    CFX 5.7

    2004 ANSYS Inc.2-28

    Animating

    - Animation Editor

    Previous Key Frame

    - Animation EditorPlay

    Forward

    -

    Stream Line

  • 7/24/2019 CFX_ (1)

    63/98

    CFX 5.7

    2004 ANSYS Inc.2-29

    Stream Line

    - Animation Editor

    - slice

    - Streamline

    . (

    Create>Streamline)

    - New Contour

    Streamline-In1OK

    - object editor, Geometry

    tLocationIn1

    - ColourMode

    VariableTemperature- -Apply-

    Stream Line

  • 7/24/2019 CFX_ (1)

    64/98

    CFX 5.7

    2004 ANSYS Inc.2-30

    Stream Line

    Advanced Features

  • 7/24/2019 CFX_ (1)

    65/98

    CFX 5.7

    2004 ANSYS Inc.2-31

    Advanced Features

    - CFX-Post.

    CFX-Post

    Create a User Variable

  • 7/24/2019 CFX_ (1)

    66/98

    CFX 5.7

    2004 ANSYS Inc.2-32

    Create a User Variable

    - Tools>Variables

    - Variable Editor,New icon,

    - New VariableRadius OK

    - Expression (X^2+Y^2)^0.5 Apply

    - Variable Editor

    Create an Isosurface

  • 7/24/2019 CFX_ (1)

    67/98

    CFX 5.7

    2004 ANSYS Inc.2-33

    Create an Isosurface

    - Wireframe

    -

    Create>Isosurface, OK

    - Geometry,

    Radius

    -

    Colour

    ,

    Mode Variable,

    Temperature

    Local

    Apply

    Create an Isosurface

  • 7/24/2019 CFX_ (1)

    68/98

    CFX 5.7

    2004 ANSYS Inc.2-34

    Create an Isosurface

    Create a Vector

  • 7/24/2019 CFX_ (1)

    69/98

    CFX 5.7

    2004 ANSYS Inc.2-35

    Create a Vector

    - Wireframe

    - Create>Vector,

    OK- Geometry,

    Isosurface

    Velocity

    ProjectionTangential

    Reduction2

    - Symbol Size2

    Apply

    Create a Vector

  • 7/24/2019 CFX_ (1)

    70/98

    CFX 5.7

    2004 ANSYS Inc.2-36

    Create a Vector

    Plot Velocity Profile

  • 7/24/2019 CFX_ (1)

    71/98

    CFX 5.7

    2004 ANSYS Inc.2-37

    Plot Velocity Profile

    - Create a Plane> Wireframe

    > Plane 1,

    ZX PlaneY=0

    color

    - Create a Polyline

    > Plane 1

    > Create> Polyline,

    OK

    > Geometry

    Boundary Intersection

    ,Boundary List out,Location

    Plane 1Apply

    Plot Velocity Profile

  • 7/24/2019 CFX_ (1)

    72/98

    CFX 5.7

    2004 ANSYS Inc.2-38

    Plot Velocity Profile

    Plot Velocity Profile

  • 7/24/2019 CFX_ (1)

    73/98

    CFX 5.7

    2004 ANSYS Inc.2-39

    Plot Velocity Profile

    - Create a Chart> Create>Chart, OK

    > Object Editor New Chart Line

    > nameNew Line

    > Locator Polyline

    > X AxisX.

    > Y AxisVelocity w

    > OK

    Plot Velocity Profile

  • 7/24/2019 CFX_ (1)

    74/98

    CFX 5.7

    2004 ANSYS Inc.2-40

    Plot Velocity Profile

    - Create a Chart (Contd)

    > ChartTitle

    Velocity Profile atOutlet

    > X Axis Label

    XY Axis Label

    W Velocity

    >

    Apply

    > View

    >

    Chart Viewer

    Plot Velocity Profile

  • 7/24/2019 CFX_ (1)

    75/98

    CFX 5.7

    2004 ANSYS Inc.2-41

    Plot Velocity Profile

    Instance Transform

  • 7/24/2019 CFX_ (1)

    76/98

    CFX 5.7

    2004 ANSYS Inc.2-42

    Instance Transform

    - Create an Instance Transform> Create>Instance Transform,

    OK

    > # of Copies2.

    > RotationApply Rotation

    > TranslationApply Translation. 6, 0, 2

    Apply.

    Instance Transform

  • 7/24/2019 CFX_ (1)

    77/98

    CFX 5.7

    2004 ANSYS Inc.2-43

    Instance Transform

    - slice Plane

    > Wireframe

    slice

    > Object Editor

    Geometry

    (0, 0, 1)

    Apply> Render

    InstancingInstance

    Transform 1Apply.

    >

    Wireframe

    Instancing

    Instance Transform 1

    Apply

    Instance Transform

  • 7/24/2019 CFX_ (1)

    78/98

    CFX 5.7

    2004 ANSYS Inc.2-44

    Instance Transform

  • 7/24/2019 CFX_ (1)

    79/98

    CEL

    CEL

    CFX

  • 7/24/2019 CFX_ (1)

    80/98

    Slide serial no 2

    2004 ANSYS CFXCFX-5.7 2004

    CFX CEL - CFX Expression Language

    CELCFX5

    CEL

    FORTRAN

    CEL

    CELCFX5 ()

    CFX5CEL

    CEL

    CEL:

    CEL

  • 7/24/2019 CFX_ (1)

    81/98

    Slide serial no 3

    2004 ANSYS CFXCFX-5.7 2004

    CFX CEL

    - )

    - CEL

    :

    -

    -

    CEL*/^

  • 7/24/2019 CFX_ (1)

    82/98

    Slide serial no 4

    2004 ANSYS CFXCFX-5.7 2004

    CFX

    , A+ B/C

    A+

    B/C

    1.0[mm] + 0.45[yds] (valid) 2.5[s m^-1] - (3.0[m s^-1])^-1 (valid)

    1.0[mm] + 0.3[kg] (invalid)

  • 7/24/2019 CFX_ (1)

    83/98

    Slide serial no 5

    2004 ANSYS CFXCFX-5.7 2004

    CFX

    a^1/2 (valid)

    1.0^0.5 (valid)

    (a[kg m^-3] * b[m s^-1]) [kg m^-

    2 s^-1]

  • 7/24/2019 CFX_ (1)

    84/98

    Slide serial no 6

    2004 ANSYS CFXCFX-5.7 2004

    CFX

  • 7/24/2019 CFX_ (1)

    85/98

    Slide serial no 7

    2004 ANSYS CFXCFX-5.7 2004

    CFX

    :

    air.density

    air.viscosity

    air.carbondioxide.mf - the mass fraction of carbon

    dioxide in air

  • 7/24/2019 CFX_ (1)

    86/98

    Slide serial no 8

    2004 ANSYS CFXCFX-5.7 2004

    CFX

    CEL

  • 7/24/2019 CFX_ (1)

    87/98

    Slide serial no 9

    2004 ANSYS CFXCFX-5.7 2004

    CFX

  • 7/24/2019 CFX_ (1)

    88/98

    Slide serial no 10

    2004 ANSYS CFXCFX-5.7 2004

    CFX

    -

    -

    CEL,

    FORTRAN

  • 7/24/2019 CFX_ (1)

    89/98

    Slide serial no 11

    2004 ANSYS CFXCFX-5.7 2004

    CFXCFX-Pre

    - CCL

    - Expression Editor

    -

    CCL

    - .DEF .RES

    - CCL

    -

    CEL

  • 7/24/2019 CFX_ (1)

    90/98

    Slide serial no 12

    2004 ANSYS CFXCFX-5.7 2004

    CFXMathematical Expression

    Power-law for fluid

    viscosity

    where is the shearstrain rate

    CEL Equivalent

    K = 10.0 [kg m^-1 s^-0.5]

    n = 1.5

    ViscT = K * sstrnr ^ (n-1)or

    ViscT = K*(min(UpperS,(sstrnr+LowerS))^(n-

    1))

    where sstrnr is the shear strain rate

    provided as a system variable

    The second form of the CEL equation above includes anThe second form of the CEL equation above includes an

    upper and lower bound for strain rate to ensure it remainsupper and lower bound for strain rate to ensure it remains

    physically reasonablephysically reasonable

    1=

    nK

    Expression Editor

  • 7/24/2019 CFX_ (1)

    91/98

    Slide serial no 13

    2004 ANSYS CFXCFX-5.7 2004

    CFX

    Expression Editor

    - CFX

    - TOOLS

    Expression Editor

  • 7/24/2019 CFX_ (1)

    92/98

    Slide serial no 14

    2004 ANSYS CFXCFX-5.7 2004

    CFX The following example shows how to set the viscosity to be a function

    of temperature. The viscosity-temperature relation is taken as follows:

    Te 10

    =

    CEL

    (B.C.)

  • 7/24/2019 CFX_ (1)

    93/98

    Slide serial no 15

    2004 ANSYS CFXCFX-5.7 2004

    CFXThe following example shows how to set angular velocity for a rotating

    wall using the u and v components

  • 7/24/2019 CFX_ (1)

    94/98

    Slide serial no 16

    2004 ANSYS CFXCFX-5.7 2004

    CFX

    Available in solver and Post

    Allow calculation of non-local integrated quantities at named locations.

    Examples:- Calculate the area average of Cp on an isosurface:

    areaAve(Cp)@iso1

    - Mass flow of particular fluid through a locator:

    oil.massFlow()@slice1 Note:

    - @ syntax - must always supply a location.

    - Phase/component can be selected using [.][.]

  • 7/24/2019 CFX_ (1)

    95/98

    Slide serial no 17

    2004 ANSYS CFXCFX-5.7 2004

    CFXEXPRESSIONS:

    ReqT = 350 [K]

    TempOut = areaAve(T)@outlet

    TCFilter = step(TempOut/1[K]-ReqT/1[K])

    TCTemp = 400[K]*TCFilter+285[K]*(1-TCFilter)

    TCFlow = 10[m/s]*TCFilter+2[m/s]*(1-TCFilter)END

    []

    BOUNDARY : TempControl

    Boundary Type = INLET

    Location = TempControl

    Coord Frame = Coord

    BOUNDARY CONDITIONS :MASS AND MOMENTUM :

    Option = Normal Speed

    Normal Speed = TCFlow

    END

    HEAT TRANSFER :

    Option = Static Temperature

    Static Temperature = TCTemp

    END

    END

    END

    POST

  • 7/24/2019 CFX_ (1)

    96/98

    Slide serial no 18

    2004 ANSYS CFXCFX-5.7 2004

    CFXIn CFX-Post Expressions may be defined by:

    using the CFX-Post Expression Editor

    entered directly in an object form

    entered at the commandline (using Line input mode), or theCommand Editor

    read in from a CCL file

    read in from a session file

    read in from a state file

  • 7/24/2019 CFX_ (1)

    97/98

    Slide serial no 19

    2004 ANSYS CFXCFX-5.7 2004

    CFX CFX-Post provides an additional set of functions: [.][_[_]]([])@

    - area Area (projected to axis optional)

    - areaAve Area-weighted average

    - areaInt Area-weighted integral

    - ave Arithmetic average- count Number of calculation points

    - force Force on a surface in the specified direction

    - forceNorm Magnitude of normalized force on a curve in the specified direction

    - length Length of a curve

    - lengthAve Length-weighted average

    - lengthInt Length-weighted integration

    - massFlow Total mass flow

    - massFlowAve Mass-weighted average

    - massFlowInt Mass-weighted integral

    - maxVal Maximum Value

    - minVal Minimum Value- probe Value at a point

    - sum Sum over the calculation points

    - torque Torque on a surface about the specified axis

    - volume Volume of a 3-D location

    - volumeAve Volume-weighted average

    - volumeInt Volume-weighted integral

  • 7/24/2019 CFX_ (1)

    98/98

    CFX

    CEL

    Values/Expressions

    Rules

    System variables, functions and constant

    Examples using CEL