Sie sind auf Seite 1von 30

FINETM/Open

Numeca Russia User Meeting 2011


OpenLabs in FINETM/Open: Create and customize your physical models
Kilian Claramunt, Yingchen Li, Jan E. Anker, Nijso Beishuizen, Dirk Wunsch, Thomas Deconinck, Selvan Gnanakumaran

Motivation
Industrial applications usually involve multiple physical phenomena Users should be allowed to adapt and/or add modeling capabilities in a flexible, efficient and user-friendly way ... without programming Fortran or C++ code
Combustion, radiation, pollutant formation, CHT, Multiphase flows, e.g. cavitation

Numeca Russia User Meeting 2011

OpenLabs
OpenLabs allows users to customize or add physical models in a flexible and a user-friendly GUI Users dont need to care about programming details and code structure Users benefit from NUMECAs CFD industrial environment and features (HPC, parallelization, meshing capabilities, advanced numerical methods) OpenLabs can be used in a wide variety of industrial and academic applications Compared to source-coded models, CFD solutions are obtained with identical computing and memory costs Free access for all FINETM/Open community

Numeca Russia User Meeting 2011

OpenLabs

OpenLabs in FINETM/Open 2.11 allows adding/customizing


Transport equations (convection-diffusion-source equations)

Source terms Diffusion coefficients f , p , v , T ,... Algebraic relations Initial and boundary conditions Modeling constants

Numeca Russia User Meeting 2011

OpenLabs

OpenLabs functionalities in FINETM/Open 2.11 allow addition/customization of models for


Initial field customization, e.g. initial free surface position for a VOF simulation Boundary conditions, e.g. unsteady inlet boundary conditions Turbulence modeling, e.g. realizable k- model, round/jet anomaly correction Mass diffusion to track pollutant concentration Steady or unsteady source terms, e.g. time-dependent heat source and many more!

Numeca Russia User Meeting 2011

OpenLabs

OpenLabs in FINETM/Open 2.12 will include


GUI to introduce the physical models Library built by a simple click in the GUI and automatically loaded by the flow solver The process is automatized and fully integrated in the FINETM/Open environment Customization of thermal and transport properties Access to the combustion and radiation modules Multi-block with similar physical models; access to solid block customization OpenLabs under Windows platform

Numeca Russia User Meeting 2011

OpenLabs

OpenLabs functionalities in FINETM/Open 2.12 will allow addition/customization of models for


Combustion and radiation, e.g. radiation optical properties, soot formation Multi-phase flows, e.g. droplet condensation model (currently being implemented), cavitation models, Heat source term added to a solid block and many more!!!

Numeca Russia User Meeting 2011

How?

Set up your test case with FINETM/Open

Add/customize your physical model with OpenLabs GUI

Create the library with a simple click in OpenLabs

Launch the flow solver of FINETM/Open

Analyze and post-process the results with CFViewTM

Numeca Russia User Meeting 2011

OpenLabs - Examples of applications. Managing initial conditions

Numeca Russia User Meeting 2011

Customize initial conditions. Imposing initial velocity field


Imposing initial field for Vx and Vy to follow geometry initialization

=>INITIAL_PROFILES @ INITIAL_FIELD: Initial_VelocityX ->EXPRESSION: IF(xCoord<0.1) 1.0 \ ELSEIF(yCoord>2.65) 0.0 \ ELSE cos(asin((xCoord-0.1)/r)) ->ExistingField: Vx @ INITIAL_FIELD: Initial_VelocityY ->EXPRESSION: IF(xCoord<0.1) 0.0 \ ELSEIF(yCoord>2.65) 1.0 \ ELSE sin(asin((xCoord-0.1)/r)) ->ExistingField: Vy =>AUXTERMS @ r=sqrt((xCoord-0.1)*(xCoord-0.1)+ (yCoord-2.65)*(yCoord-2.65))

Velocity field at zero iterations

10

Numeca Russia User Meeting 2011

OpenLabs - Examples of applications. Managing boundary conditions

11

Numeca Russia User Meeting 2011

Customize Boundary Conditions. Unsteady inlet boundary to the GE-E3 blade


To simulate the effect of upstream wake of the vane, the relative total pressure is fitted and placed as boundary condition at the inlet of the rotor The formula is dependent on the physical time t

Po-bg total pressure at inlet, 223332.0 (Pa) n number of blades which is 76 rotation speed, 8283rpm time period for one wake passage,
Stator Rotor

12

Numeca Russia User Meeting 2011

Customize Boundary Conditions. Unsteady inlet boundary to the GE-E3 blade


Po-bg total pressure at inlet, 223332.0 (Pa) n number of blades which is 76 rotation speed, 8283rpm time period for one wake passage,

=>AUXTERMS @n = 76 @ omega = 8283 @ P0_bg = 223331.0 @ PI = 3.1415926535 @ Period = 60.0/(omega*n) =>CUSTOM_BOUNDARY_CONDITIONS @ CUSTOMIZED_BOUNDARY_CONDITION: PtInlet ->EXPRESSION: P0_bg * (1.0 - 0.15 * pow((sin(n*tCoord/2+PI*Time/Period)),10)) ->ExistingBC: "Absolute Total Pressure" , rotor_inlet 13
Numeca Russia User Meeting 2011

Customize Boundary Conditions. Unsteady inlet boundary to the GE-E3 blade

Simulation over one period

14

Numeca Russia User Meeting 2011

OpenLabs - Examples of applications. Managing additional transport equations and source terms

15

Numeca Russia User Meeting 2011

Transport equation and source terms. Mass diffusion to track pollutant concentration
Diffusion of a pollutant in a room

Window outlet
AC inlet POLLUTANT Cold Temperature

The pollutant is heavier than air

Door inlet AIR Warm Temperature 16


Numeca Russia User Meeting 2011

Transport equation and source terms. Mass diffusion to track pollutant concentration
Modeling approach in an incompressible flow
Transport equation for the pollutant mass fraction

Density is considered constant except for the buoyancy term in the momentum equation (Boussinesq approx.)

The solutal buoyancy source term has to be added to the momentum equation
T is the thermal expansion coeff.

Thermal buoyancy already in FINETM/Open 17


Numeca Russia User Meeting 2011

Solutal buoyancy to be added with OpenLabs

S is the solutal expansion coeff.

Transport equation and source terms. Mass diffusion to track pollutant concentration
S solutal expansion coeff.
Lewis number assumed unity Turbulent Prandtl number Reference mass fraction

Gravity

=>CONSTANTS @ solutalExpansion @ Le @ SigmaY @ YRef @ gravityX @ gravityY @ gravityZ = 0.14372 = 1.0 = 1.0 = 0.0 = 0.0 = 0.0 = -9.8

18

Numeca Russia User Meeting 2011

Transport equation and source terms. Mass diffusion to track pollutant concentration
Transport equation for the pollutant mass fraction
=>EQUATIONS @ PDE: concentrationEquation ->EXPRESSION: DDT( Y) + CONV( Y ) = DIFF(Y_diff_coeff) + SOURCE() ->Convective_Scheme: UpwindFirstOrderConservative ->UseCustomBC: ConcenLow, DOOR_IN ->UseCustomBC: ConcenHigh, AC_IN ->INITIAL_VALUE: 0.0 =>ALGEBRAIC_DIFFUSION_COEFFICIENTS @ ALGDIFFCOEFF: Y_diff_coeff ->EXPRESSION: Conductivity / phys_cp_ / Le + EddyVisc/SigmaY =>CUSTOM_BOUNDARY_CONDITIONS @ CUSTOMIZED_BOUNDARY_CONDITION: ConcenLow ->EXPRESSION: 0.0 @ CUSTOMIZED_BOUNDARY_CONDITION: ConcenHigh ->EXPRESSION: 1.0

19

Numeca Russia User Meeting 2011

Transport equation and source terms. Mass diffusion to track pollutant concentration
Source term to the momentum equation
Thermal buoyancy already in FINETM/Open Solutal buoyancy to be added with OpenLabs

=>SOURCETERMS

@ SOURCE: sourceToMomX ->EXPRESSION: Density * ( solutalExpansion*(Y-YRef)) * gravityX ->AddToExistingPde: MomentumXEquation


@ SOURCE: sourceToMomY ->EXPRESSION: Density * ( solutalExpansion*(Y-YRef)) * gravityY ->AddToExistingPde: MomentumYEquation @ SOURCE: sourceToMomZ ->EXPRESSION: Density * ( solutalExpansion*(Y-YRef)) * gravityZ ->AddToExistingPde: MomentumZEquation 20
Numeca Russia User Meeting 2011

OpenLabs. Demonstration

21

Numeca Russia User Meeting 2011

OpenLabs. Demonstration

22

Numeca Russia User Meeting 2011

OpenLabs. Demonstration

23

Numeca Russia User Meeting 2011

Transport equation and source terms. Mass diffusion to track pollutant concentration

24

Numeca Russia User Meeting 2011

OpenLabs - Other applications

25

Numeca Russia User Meeting 2011

OpenLabs. Other applications


Initial free surface position for an unsteady VOF simulation
Broken Dam: water column; dam removed at start of the analysis Evolution of the wave shape with time The initial position of the free surface is prescribed with OpenLabs
Distance function

(xLim,yLim)

Distance function

C=1
Thickness of the interface

C=0
26

Numeca Russia User Meeting 2011

OpenLabs. Other applications


Turbulence modeling
The Low-Re Yang-Shih k- turbulence model is available in FINETM/Open As a validation exercise, the same model has been fully added with OpenLabs Identical results are obtained using FINETM/Open and OpenLabs models Results are shown for the turbulent flat plate: profiles of Vx and k at the outlet

27

Numeca Russia User Meeting 2011

OpenLabs. Other applications (cont.)


Soot formation model
Combustion and radiation models are already available in FINETM/Open Soot strongly effects the radiation absorption coefficient and therefore the radiative heat transfer Soot formation models have been added with OpenLabs
The transport equation for the soot mass fraction with the nucleation and oxidation source terms is added The absorption coefficient of the radiation model is modified to take into account soot

is

28

Numeca Russia User Meeting 2011

OpenLabs. Conclusions
OpenLabs libraries will be progressively shared with all FINETM/Open community with a variety of functionalities and applications:
Type of functionality
How to customize initial solutions How to customize boundary conditions How to add/modify source terms in a transport equation How to add transport equations

Application / Physical modeling


Turbulence modeling Combustion modeling Radiation modeling Multiphase modeling

BC customization

You are very welcome to share your experience and extend the OpenLabs library !!!!
29
Numeca Russia User Meeting 2011

Thank you for your attention!

30

Numeca Russia User Meeting 2011

Das könnte Ihnen auch gefallen