Implementation of Turbulent Viscosity from EARSM for Two Equation Turbulence Model

Size: px
Start display at page:

Download "Implementation of Turbulent Viscosity from EARSM for Two Equation Turbulence Model"

Transcription

1 CFD with OpenSource software A course at Chalmers University of Technology Taught by Håkan Nilsson Project work: Implementation of Turbulent Viscosity from EARSM for Two Equation Turbulence Model Developed for OpenFOAM-2.4.x Author: Thejeshwar Sadananda Peer reviewed by: Gonzalo Montero Håkan Nilsson Disclaimer: This is a student project work, done as part of a course where OpenFOAM and some other OpenSource software are introduced to the students. Any reader should be aware that it might not be free of errors. Still, it might be useful for someone who would like learn some details similar to the ones presented in the report and in the accompanying files. The material has gone through a review process. The role of the reviewer is to go through the tutorial and make sure that it works, that it is possible to follow, and to some extent correct the writing. The reviewer has no responsibility for the contents. January 29, 2016

2 Contents Contents 1 1 Introduction 3 2 Theory 4 Algebraic Reynolds Stress Models Explicit Algebraic Reynolds Stress Model Implementation of Turbulent Viscosity 7 4 Axially Rotating Pipe Flow Case 13 Pre-Processing Simulation Post-Processing Results and Discussions 18 Results Learning during the Implementation Conclusion and Future Work 20 7 Study Questions 21 Bibliography 22 1

3 Learning outcomes The reader will learn: Why two equation turbulence model is not suited for computing Complex flows. The basic theory of Algebraic Reynolds stress Model. How to modify the existing turbulence model and test the case in OpenFOAM. Why functionobjects are required in OpenFOAM. How to implement the turbulent viscosity from EARSM in standard two equation turbulence model 2

4 Chapter 1 Introduction Standard two equation turbulence models are widely used in industries to perform CFD simulations. The two-equation turbulence models are robust and requires less computational resources and time. But these turbulence models compute the Reynolds stress based on the eddy viscosity assumption. The Reynolds stresses are computed by neglecting the rotational part of the velocity gradient tensor. Hence flow comprising of strong streamline curvature effects, adverse pressure gradient, flow separation and system rotation cannot be envisaged accurately. These features can be resolved using computational method like Direct Numerical Simulation DNS but it demands extensive computational resources and time. One of the alternative to capture these features accurately is by using turbulence models based on transport equations for the individual Reynolds stress tensor components. This has generated significant interest in obtaining algebraic approximations of the Reynolds stress transport equations which are modelled based on the Reynolds stress transport equation. In this project report, the implementation of the turbulent viscosity ν t from the Explicit Algebraic Reynolds Stress Model EARSM for the two-equation turbulence model is presented.[1] 3

5 Chapter 2 Theory This chapter provides a brief theoretical background on the Algebraic Reynolds Stress Models ARSM and the Explicit Algebraic Reynolds Stress Model EARSM. Algebraic Reynolds Stress Models The Algebraic Reynolds stress models are developed from the modelled Reynolds stress transport equation by assuming that the advection minus diffusion of the individual Reynolds stresses can be expressed as the product of the corresponding quantity for the kinetic energy K and the individual Reynolds stresses normalized by K. There is an implicit relation between the stress components and the mean velocity gradient field which replaces the Boussinesq assumption. ARSM is a systematic method for constructing a non-linear stress relationship that includes the effect of the rotational part of the mean velocity gradient tensor. This feature assists ARSM to capture the three-dimensional turbulent features accurately. It is to be noted that the implicit form of ARSM has been found to be numerically and computationally cumbersome[2]. Explicit Algebraic Reynolds Stress Model The Explicit Algebraic Reynolds stress model relates Reynolds stresses explicitly with the mean flow field. EARSM is numerically robust and requires computational resources and time which is nearly the same as that of the two-equation turbulence models. The robustness of the model is due to the Reynolds stress anisotropy term which is computed based on the normalized strain rate tensor and the rotation rate tensor.[2] The Reynolds stress anisotropy is expressed as a = β 1 S + β 2 S II SI + β 3 Ω II ΩI + β 4 SΩ ΩS + β 5 S 2 Ω Ω 2 S + β 6 SΩ 2 Ω 2 S 2 3 IV I + β 7 S 2 Ω 2 Ω 2 S V I + β 8 SΩS 2 S 2 ΩS β 9 ΩSΩ 2 Ω 2 SΩ + β 10 ΩS 2 Ω 2 Ω 2 S 2 Ω The invariants in the anisotropy term are II S = trs 2, II Ω = trω 2 ; III S = trs 3 ; IV = trsω 2 ; V = trω 2 S In equations 2.1 and 2.2 a, S, Ω represent the second rank tensors. tr represents the trace and I is the identity matrix. In addition to it, S 2, Ω 2 represent the inner product of normalized strain rate and rotation rate tensors respectively. S 2 SS ij S 2 ij S iks kj 2.3 4

6 . EXPLICIT ALGEBRAIC REYNOLDS STRESS MODEL CHAPTER 2. THEORY The normalized strain rate and rotation rate tensors are obtained by multiplying the turbulent time scale with the strain rate and rotation rate tensors. The normalized strain rate tensor is expressed as Similarly normalized rotation rate tensor is expressed as S S ij τs ij 2.4 Ω Ω ij τω ij 2.5 In the near-wall region, viscous effects are important and it is essential to limit the turbulent time scale which is limited by the Kolmogoroff time scale as proposed by Durbin 1993 [8] k µ τ = max ɛ, C τ 2.6 ρɛ where C τ = 6.0 is a model constant. The dimensional strain rate tensor and rotation rate tensor are computed using the velocity gradient as S ij = 1 Ui + U j 2 U k δ ij ; Ω ij = 1 Ui U j x j x i 3 x k 2 x j x i In this project, the turbulent viscosity ν t from EARSM is implemented for an axially rotating pipe flow case which is an application of a three-dimensional mean flow. The turbulent viscosity ν t is expressed as ν t = β 1 + II Ω β 6 kτ 2.8 where β 1, β 6 represents the coefficients used in EARSM to compute ν t. The solution of the β coefficients for the three-dimensional mean flow are β 1 = N 2N 2 7II Ω ; β 3 = 12N 1 IV ; β 4 = 2 N 2 2II Ω ; β 6 = 6N Q Q Q Q ; β 9 = 6 Q ; 2.9 The non-singular denominator is written as Q = 5 6 N 2 2II Ω 2N 2 II Ω 2.10 The β coefficients are inserted in the definition of N which is closely related to the P/ɛ ratio where P and ɛ represent production and dissipation term respectively. The non-linear equation for N is of sixth order for three-dimensional mean flow. This equation does not have a closed solution. There are two ways by which simplified solution of N can be obtained. One way is to use the solution of N for the two-dimensional mean flow. The coefficients P 1 and P 2 are computed as C 2 1 P 1 = II S 2 3 II Ω C P 2 = P 1 2 C II S II Ω 2.12 C 1 = 9 4 c where c 1 = 1.8 and C 1 For P 2 0, are model constants. N = C P P 2 + P P

7 . EXPLICIT ALGEBRAIC REYNOLDS STRESS MODEL CHAPTER 2. THEORY For P 2 < 0, N = C P P cos 3 cos 1 P 1 P1 2 P Another solution of N is to use the pertubed solution of three-dimensional non-linear N equation. In this project, equation 2.8 is implemented using the solution for two-dimensional mean flow for N. In order to further simplify the implementation process, two-dimensional mean flow solution N for P 2 0 is used. 6

8 Chapter 3 Implementation of Turbulent Viscosity The implementation of the turbulent viscosity ν t from the Explicit Algebraic Reynolds Stress Model EARSM in k ω turbulence model is presented in this chapter. Open a new terminal Initialize the OpenFOAM-2.4.x environment by typing OF24x Type the environment variable cd $WM_PROJECT_DIR Copy the komega turbulence model directory with the same parent directory structure in the user directory cp -r --parents src/turbulencemodels/incompressible/ras/komega \ $WM_PROJECT_USER_DIR cd $WM_PROJECT_USER_DIR/src/turbulenceModels/incompressible/RAS Rename the komega directory to earsmimpkomga directory mv komega earsmimpkomega Create a Make directory and two files named files and options under it. Once it is done, add the following lines in to the respective files Make/files earsmimpkomega/earsmimpkomega.c LIB = $FOAM_USER_LIBBIN/libMyIncompressibleRASModels Make/options EXE_INC = \ -I$LIB_SRC/turbulenceModels \ -I$LIB_SRC/transportModels \ -I$LIB_SRC/finiteVolume/lnInclude \ -I$LIB_SRC/meshTools/lnInclude \ -I$LIB_SRC/turbulenceModels/incompressible/RAS/lnInclude \ -I$LIB_SRC/sampling/lnInclude LIB_LIBS = 7

9 CHAPTER 3. IMPLEMENTATION OF TURBULENT VISCOSITY Remove komega.dep compiled file and rename the file name and the classname from komega to earsmimpkomega cd earsmimpkomega; rm komega.dep mv komega.c earsmimpkomega.c; mv komega.h earsmimpkomega.h sed -i s/komega/earsmimpkomega/g earsmimpkomega.* Before the implementation of turbulent viscosity ν t, it is better to compile using wmake libso initially to ensure that there are no errors in the earsmimpkomega.c and earsmimpkomega.h file. The constants c1, C1, ctau are used in EARSM to compute ν t. They are declared as dimensioned scalars. Include the data members in the declaration file earsmimpkomega.h under Model coefficients at line 96 dimensionedscalar c1_; dimensionedscalar C1_; dimensionedscalar ctau_; The β coefficients and the invariants are introduced as member functions. These member functions return volscalarfield. The member functions use an IOobject class to create an object. The object access the runtime directory information and the computes the volscalarfield at all cell centres available under mesh. The member functions used in the earsmimpkomega.h file are shown below. Add the following member functions before Reynolds stress tensor R member function in the declaration file earsmimpkomega.h at line 186. //- Return the time scale tmp<volscalarfield> time const return tmp<volscalarfield> new volscalarfield IOobject "time", mesh_.time.timename, mesh_, maxk_/epsilon, ctau_*sqrtnu/epsilon ; It is a good practice to compile after declaring every member function in earsmimpkomega.h file using wmakelibso command to easily overcome compiling errors. In addition to it, it is to be remembered that wclean command has to be used before compiling the next time. //- Return the invariant invar2s tmp<volscalarfield> invar2s const return tmp<volscalarfield> new volscalarfield 8

10 CHAPTER 3. IMPLEMENTATION OF TURBULENT VISCOSITY IOobject "invar2s", mesh_.time.timename, mesh_, trtime*symmfvc::gradu_ & \ time*symmfvc::gradu_ ; //- Return the invariant invar2r tmp<volscalarfield> invar2r const return tmp<volscalarfield> new volscalarfield IOobject "invar2r", mesh_.time.timename, mesh_, trtime*skewfvc::gradu_ & \ time*skewfvc::gradu_ ; //- Return the coefficient P1 tmp<volscalarfield> P1 const return tmp<volscalarfield> new volscalarfield IOobject "P1", mesh_.time.timename, mesh_, sqrc1_/27 + 9/20*invar2s - 2/3*invar2r*C1_ ; //- Return the coefficient P2 tmp<volscalarfield> P2 const return tmp<volscalarfield> new volscalarfield 9

11 CHAPTER 3. IMPLEMENTATION OF TURBULENT VISCOSITY IOobject "P2", mesh_.time.timename, mesh_, maxsqrp1 - powsqrc1_/9 + 9/10*invar2s + \ 2/3*invar2r,3,scalar0 ; The maxsqrp 1 powsqrc1 /9 + 9/10 invar2s + 2/3 invar2r, 3, scalar0 function is used for computing the member function P 2 such that the result does not end in terms of negative values. //- Return the coefficient N tmp<volscalarfield> N const return tmp<volscalarfield> new volscalarfield IOobject "N", mesh_.time.timename, mesh_, C1_/3 + powp1 + sqrtp2,1/3 + pow\ P1 - sqrtp2,1/3 ; //- Return the coefficient Q tmp<volscalarfield> Q const return tmp<volscalarfield> new volscalarfield IOobject "Q", mesh_.time.timename, mesh_, max5/6*sqrn - 2*invar2r*2*sqrN - invar2r \, SMALL ; The max5/6 sqrn 2 invar2r 2 sqrn invar2r, SMALL function 10

12 CHAPTER 3. IMPLEMENTATION OF TURBULENT VISCOSITY is used for computing the member function Q and this ensures that the result is neither a negative value or zero. //- Return the coefficient beta1 tmp<volscalarfield> beta1 const return tmp<volscalarfield> new volscalarfield IOobject "beta1", mesh_.time.timename, mesh_, -N*2*sqrN-7*invar2r/Q ; //- Return the coefficient beta6 tmp<volscalarfield> beta6 const return tmp<volscalarfield> new volscalarfield IOobject "beta6", mesh_.time.timename, mesh_, -6*N/Q ; The dimensioned scalars declared in the earsmimpkomega.h file are initialized in the source file earsmimpkomega.c file in the same order. In this way the compiler knows that it has allocated the required memory space to the respective data member. Include these data members in the source file earsmimpkomega.c from line 103 c1_ dimensioned<scalar>::lookuporaddtodict "c1", coeffdict_, 1.8, C1_ 11

13 CHAPTER 3. IMPLEMENTATION OF TURBULENT VISCOSITY dimensioned<scalar>::lookuporaddtodict "C1", coeffdict_, 1.8, ctau_ dimensioned<scalar>::lookuporaddtodict "ctau", coeffdict_, 6.0, Compile using wmake libso to ensure that the data members are initialized in the correct order In k ω turbulence model, the turbulent viscosity is computed as ν t = k/ω 3.1 It is to be noted that the equation 3.1 is replaced with equation 2.8 at two locations in the source file earsmimpkomega.c at line 170 and 314. nut_ = -1/2*k_*time*beta1+beta6*invar2r; Compile using wmake libso finally to confirm that the turbulent viscosity ν t from EARSM is implemented successfully. 12

14 Chapter 4 Axially Rotating Pipe Flow Case Axially rotating fully developed turbulent pipe flow is an interesting case of three-dimensional mean flow. This case is based on the pipecyclic tutorial available for the simplefoam in OpenFOAM 2.4.x. In this chapter, the pre-processing, simulation and post-processing of the case are presented. Pre-Processing The axially rotating pipe flow case is a simple three-dimensional mean flow case in which the complex flow features such as streamline curvature effects and local rotation of the streamlines can be envisaged. This case assists in demonstrating the significance of EARSM in two-equation turbulence model. As the case name indicates that the swirling inlet flow enters the pipe with a Reynolds number lying in the turbulent flow regime. The pre-processing steps for setting up the case are as follows Open a new terminal Initialize the OpenFOAM-2.4.x environment by typing OF24x Type the environment variable cd $WM_PROJECT_DIR Copy the pipecyclic tutorial from the T UT ORIALS directory and paste it under run directory. cp -r $FOAM_TUTORIALS/incompressible/simpleFoam/pipeCyclic $FOAM_RUN cd $FOAM_RUN mv pipecyclic testcaseearsm cd testcaseearsm The geometry of the axially rotating turbulent pipe flow are adopted from the pipecyclic tutorial except few minor changes have been made. sed -i "s/converttometers 1/convertToMeters 0.1/g" \ constant/polymesh/blockmeshdict sed -i "s/halfangle 45.0/halfAngle 90.0/g" constant/polymesh/blockmeshdict 13

15 . PRE-PROCESSING CHAPTER 4. AXIALLY ROTATING PIPE FLOW CASE The geometry is created using the blockmeshdict dictionary located in the constant/polymesh directory. The geometry of the pipe flow is specified in the cartesian coordinate system. The pipe of radius 0.05 m and length 1.0 m is set with a half angle of the wedge of 90 o. The coordinates along y and z axis are computed based on the radius and the half angle of the wedge. The geometry is meshed with a hexahedral mesh with the uniform grading of the mesh in all the coordinate directions. The boundary of the geometry are split into several patches. The patches are same as those patches used in pipecyclic tutorial. The patches side1 and side2 of patch type cyclicami are treated physically connected to each other. Once the computational domain is set in the blockmeshdict, the boundary conditions BC have to be applied for all the patches of the domain. This is carried out by creating certain volscalarfield and volvectorfield files under 0 directory. These files are used to initialize and specify boundary conditions for these fields. The directory name 0 suggests the starting time for the simulation. The files available under 0 directory for pipecyclic tutorial are used for setting up the case except that few changes have to be made. cp -r 0.org 0 For U volvectorfield, there is no need to modify the boundary conditions. The inlet boundary condition is codedfixedvalue. This is a generic boundary condition. It constructs on-the-fly a new boundary condition derived from fixedvaluefvpatchfield which is then used to evaluate. At the outlet of the pipe, inletoutlet boundary condition is set when it is a zerogradient condition when flow is outwards. No slip condition is used at the walls.[4] The boundary conditions for p and k volscalarfields remains the same as that of pipecyclic tutorial except that the initial value for k has to be changed. sed -i "s/uniform 1/uniform /g" 0/k The turbulentintensitykineticenergyinlet boundary condition provides turbulent kinetic energy based on the intensity level. The kqrwallfunction BC provides suitable condition for turbulence k, q and R in case of Reynolds number flow. In this Project Reynolds number is considered as 1,30,000. In order to set the boundary conditions for the specific dissipation ω, the following steps have to be executed mv 0/epsilon 0/omega sed -i "s/epsilon/omega/g" 0/omega sed -i "s/ / /g" 0/omega sed -i "s/uniform 1/uniform 29.0/g" 0/omega sed -i "s/turbulentmixinglengthdissipationrateinlet/\ turbulentmixinglengthfrequencyinlet/g" 0/omega sed -i "s/0.5/0.05/g" 0/omega The turbulentmixinglengthfrequencyinlet boundary condition at the inlet provides the specific dissipation based on the mixing length which is half the pipe diameter. The omegawall- Function BC at the walls provides the resultant of specific dissipation of viscous and log-law region.[4] 14

16 . PRE-PROCESSING CHAPTER 4. AXIALLY ROTATING PIPE FLOW CASE The physical property ν is calculated based on the inlet velocity U = 1.3m/s and Reynolds number, the kinematic viscosity ν is found to be m 2 /s The kinematic viscosity is set in the transportproperties dictionary under constant directory of the case. This ν value used in the pipecyclic tutorial is the same as computed value. Once it is done, change the turbulence model in RASProperties dictionary available under constant directory to earsmimpkomega model sed -i "s/realizableke/earsmimpkomega/g" constant/rasproperties Include the dynamic library in the controldict file under system directory "libmyincompressiblerasmodels.so" // libs; The mean velocity profile along the pipe radius is plot during the post-processing stage. The mean velocity can be obtained using fieldaverage functionobject in OpenFOAM 2.4.x. The fieldaverage functionobject calculates the time average of specified fields and writes the results in the time directories. The fieldaverage functionobject is added in the controldict dictionary.[7] functions fieldaverage1 type fieldaverage; functionobjectlibs "libfieldfunctionobjects.so"; enabled true; ; fields ; outputcontrol U mean prime2mean base outputtime; on; on; //RMS time; The post-processing is carried out using ParaView and Sample utility. The sample utility is used to extract the values of the flow variable from the axis of the pipe along the radial direction. Copy and modify the sampledict dictionary from the TUTORIALS directory. cp $FOAM_TUTORIALS/compressible/sonicFoam/\ laminar/shocktube/system/sampledict./system/. Modify the settings in the sampledict dictionary as follows //- sampledict interpolationscheme cellpoint; setformat xmgr; 15

17 . SIMULATION CHAPTER 4. AXIALLY ROTATING PIPE FLOW CASE sets line type uniform; axis z; start ; end ; npoints 10; ; fields U UMean; The cellpoint interpolation type is a linear weighted interpolation scheme which uses cell centre values and extracts the values of the mean velocity U along the z-axis at npoints.[3] Simulation The k ω turbulence model is used in simulating the axially rotating pipe flow as this model works well for wall bounded flows. In this project, the turbulent pipe flow is simulated based on ν t computed using EARSM in k ω turbulence model. The time step deltat 0.01 is set by considering the minimum cell size. Other run time information like writeinterval 10 can be set in the controldict file under system directory. It is to be noted that the default discretization schemes and the iterative solvers of the pipecyclic tutorial settings were used except few changes are made for this case. The keyword epsilon is replaced with omega in f vschemes and f vsolution dictionaries under system directory using sed command. sed -i "s/epsilon/omega/g" system/fvschemes sed -i "s/epsilon/omega/g" system/fvsolution The case is included with all the required functionobjects and utilities. Use blockmesh to mesh the computational domain. To ensure that the mesh is generated properly, check that the number of undefined boundary faces is zero. blockmesh The simplefoam solver is a steady state solver applicable for incompressible turbulent flows [3]. Run the simulation using simplefoam solver. Check that the solution is converged before post-processing the simulation. simplefoam >& log& Post-Processing Once the simulations are converged, the post-processing is carried out using the ParaView and Sample utility. Once the results are written in the time directories, it can be visualized using parafoam. As the parafoam window appears on the screen, click on the Apply button in the Properties dialog box just below the pipeline browser window. click on the slice icon and the slice1 appears on the pipeline browser. Set the origin to 0,0,0 and click z-normal axis in order to make the 16

18 . POST-PROCESSING CHAPTER 4. AXIALLY ROTATING PIPE FLOW CASE Figure 4.1: Plot of velocity field in a plane normal to z-direction slice of the domain normal to the z-axis. Select the cell center U field in the field drop down box and select surface in the adjacent dropdown box. Click on the play button to visualize the velocity field U. Use the Stream Tracer icon present in the toolbar to visualize the streamline in the flow field. After selecting the stream tracer icon, click on the Apply button and click play button to visualize the streamlines of the axially rotating turbulent pip flow. Use the sample utility to extract the mean velocity UMean field and visualize the plot using the xmgrace cp 0/U 0/UMean sample xmgrace postprocessing/sets/0.89/line_u_umean.agr 17

19 Chapter 5 Results and Discussions Results The results of the turbulent pipe flow case using the EARSM implemented and the ideal k ω turbulence model are discussed here. From the results of original k ω turbulence model, it can be seen that the mean velocity profile is not completely parabolic. This is accounted due to the exclusion of rotational rate tensor while computing Reynolds stress tensor. It is also to be noted that U velocity profile looks similar to that of the UMean velocity profile. This is due to the averaging of the momentum equation there by the velocity U corresponds to the average velocity obtained from RANS model. By plotting the mean velocity profile for the axially rotating turbulent pipe flow along z-axis for Figure 5.1: Plot of Mean and instantaneous velocity along z-axis for k ω turbulence model EARSM implemented k ω turbulence model, it is found that the mean velocity UMean is nearly constant at major part of the z-direction and drops to zero close to the wall. It may be attributed to the use of wall functions at the wall. The reason for the similar velocity profiles of U and UMean is same as that mentioned for the results of k ω turbulence model. From[1] it is learnt that the mean velocity profile has to be parabolic in nature but the computed results does not replicate the same. This is because, implementation of turbulent viscosity ν t is not sufficient to implement EARSM completely in two-equation turbulence model. The Reynolds stress anisotropy term has to be used in computing production term in turbulent kinetic energy transport equation and turbulent diffusion as suggested[1]. When the case is set up by refining the mesh to cells, it was not possible to obtain converged solution. From the residuals, it was evident that the pressure field was not converging to the required tolerance limits. 18

20 . LEARNING DURING THE IMPLEMENTATIONCHAPTER 5. RESULTS AND DISCUSSIONS Figure 5.2: Plot of Mean and Inlet velocity along z-axis for EARSM implemented k ω turbulence model Learning during the Implementation In this section, few learninga during the implementation of turbulent viscosity ν t are presented. If the data members are added, they have to be initialized under the constructor list in the source.c file in the same order as they are introduced in the declaration.h file. It is not possible to compute the volscalarfield if the computed value arises to be a complex number or negative values. The dimension set of the calling data members and/or member functions used for computing respective member functions should match. When the conditional statements are introduced in the IOobject class, a temporary dimensioned scalar has to be introduced to accept the value. The truncation error can be rectified by using the maxxyz, scalar0 function in order to get a positive value volscalarfield. Implementing the source code in small steps in a systematic way will make the user to identify and debug errors easily. 19

21 Chapter 6 Conclusion and Future Work The turbulent viscosity ν t from the Explicit Algebraic Reynolds Stress Model is implemented in k-ω turbulence model. The axially rotating pipe flow case is tested using the implemented model. It can be concluded that the turbulence model is incomplete without the implementation of the Reynolds stress anisotropy term. Considering future work, the perturbed solution of three-dimensional N equation can be considered which is a better solution of N than the solution of the two-dimensional N equation. The Reynolds stress anisotropy term must be included in the production term of the turbulent kinetic energy transport equation and turbulent diffusion term to implement EARSM in two-equation turbulence models. The EARSM implemented two-equation turbulence model results can be validated with the standard two equation turbulence models and experimental results. 20

22 Chapter 7 Study Questions Q1: What is the drawback of using eddy viscosity assumption while computing Reynolds stress in two-equation turbulence? Q2: What is ARSM? Q3: How does the cyclicami boundary condition work? Q4: How does the codedfixedvalue boundary condition work? Q5: What type of value is set to return while calculating β coefficients? Q6: What does the sample utility do? 21

23 Bibliography [1] Wallin,S. 1999, An efficient explicit algebraic Reynolds stress k ω model EARSM for aeronautical applications, FFA TN [2] Wallin,S. & Johansson, A. V. 2000, An explicit algebraic Reynolds stress model for incompressible and compressible turbulent flows, J. Fluid Mech. 403, [3] Christopher, J., Greenshields, 2015, OpenFOAM User Guide, [Online] Available: [4] OpenFOAM C++ Documentation, [Online] Available: [5] Christopher, J., Greenshields, 2015, OpenFOAM Programmer s Guide, [Online] Available: [6] Nilsson,H., How to implement a turbulence model, [Online] Available: hani/kurser/os CFD 2015/implementTurbulenceModel.pdf [7] Nilsson,H., someutilitiesandfunctionobjects.pdf, [Online] Available: hani/kurser/os CFD 2015/someUtilitiesAndFunctionObjects.pdf [8] Durbin, P.A. 1993, Application of a near-wall turbulence model to boundary layers and heat transfer, Int. J. Heat and Fluid Flow 14,

How to implement your own turbulence model(1/3)

How to implement your own turbulence model(1/3) How to implement your own turbulence model(1/3) The implementations of the turbulence models are located in $FOAM_SRC/turbulenceModels Copythesourceoftheturbulencemodelthatismostsimilartowhatyouwanttodo.Inthis

More information

How to implement your own turbulence model (1/3)

How to implement your own turbulence model (1/3) How to implement your own turbulence model 1/3) The implementations of the turbulence models are located in $FOAM_SRC/turbulenceModels Copy the source of the turbulence model that is most similar to what

More information

Description of poroussimplefoam and adding the Brinkmann model to the porous models Developed for OpenFOAM-2.2.x

Description of poroussimplefoam and adding the Brinkmann model to the porous models Developed for OpenFOAM-2.2.x CFD with OpenSource Software A course at Chalmers University of Technology Taught by Hakan Nilsson Project work: Description of poroussimplefoam and adding the Brinkmann model to the porous models Developed

More information

Create a DES turbulence model from komegasst RANS model. 8 th OFWS training by D. Chrisk Revised by Y. Takagi Open CAE

Create a DES turbulence model from komegasst RANS model. 8 th OFWS training by D. Chrisk Revised by Y. Takagi Open CAE Create a DES turbulence model from komegasst RANS model 8 th OFWS training by D. Chrisk Revised by Y. Takagi Open CAE seminar@kansai, 2013.7.6 1 Turbulent flow simulapon DNS LES RANS Modeling No Subgrid

More information

Porous Media in OpenFOAM

Porous Media in OpenFOAM Chalmers Spring 2009 Porous Media in OpenFOAM Haukur Elvar Hafsteinsson Introduction This tutorial gives a detailed description of how to do simulations with porous media in OpenFOAM-1.5. The porous media

More information

Description and validation of the rotordisksource class for propeller performance estimation

Description and validation of the rotordisksource class for propeller performance estimation Description and validation of the rotordisksource class for propeller performance estimation Alexandre Capitao Patrao Department of Mechanics and Maritime Sciences Division of Fluid Dynamics Chalmers University

More information

The implementation of Two-equation SGS turbulence model and Wall damping function

The implementation of Two-equation SGS turbulence model and Wall damping function The implementation of Two-equation SGS turbulence model and Wall damping function Yeru Shang Thermo-fluid Mechanics Research Centre, The University of Sussex, Brighton, UK 2017-11-21 Yeru Shang The implementation

More information

Introduction. Haukur Elvar Hafsteinsson. OpenFOAM - Porous Media 1. The Governing Equations. The Class. The solver. Porous media as a flow control

Introduction. Haukur Elvar Hafsteinsson. OpenFOAM - Porous Media 1. The Governing Equations. The Class. The solver. Porous media as a flow control Introduction The Governing Equations The Class The solver Porous media as a flow control Porous media in cylindrical coordinates Available at the course home page: http://www.tfd.chalmers.se/ hani/kurser/os_cfd_2008/

More information

Turbulent Boundary Layers & Turbulence Models. Lecture 09

Turbulent Boundary Layers & Turbulence Models. Lecture 09 Turbulent Boundary Layers & Turbulence Models Lecture 09 The turbulent boundary layer In turbulent flow, the boundary layer is defined as the thin region on the surface of a body in which viscous effects

More information

Lecture 2: Fundamentals 2/3: Navier-Stokes Equation + Basics of Discretization

Lecture 2: Fundamentals 2/3: Navier-Stokes Equation + Basics of Discretization Lecture 2: Fundamentals 2/3: Navier-Stokes Equation Basics of Discretization V.Vuorinen Aalto University School of Engineering CFD Course, Spring 2018 January 15th 2018, Otaniemi ville.vuorinen@aalto.fi

More information

studies Maryse Page Hydro-Québec, Research Institute Håkan Nilsson Chalmers University of Technology Omar Bounous Chalmers University of Technology

studies Maryse Page Hydro-Québec, Research Institute Håkan Nilsson Chalmers University of Technology Omar Bounous Chalmers University of Technology OpenFOAM Turbomachinery Working Group: ERCOFTAC conical diffuser case-studies studies Maryse Page Hydro-Québec, Research Institute Olivier Petit Chalmers University of Technology Håkan Nilsson Chalmers

More information

viscousheatingsolver Martin Becker

viscousheatingsolver Martin Becker viscousheatingsolver Adding temperature transport and viscous heating to simplefoam Solver and Test Case Martin Becker martin_becker@dhcae-tools.de 11/09/2012 Abstract The modifications of the simplefoam

More information

PANS turbulence model implementation

PANS turbulence model implementation CFD with OpenSource Software A course at Chalmers University of Technology Taught by Håkan Nillson PANS turbulence model implementation Developed for OpenFOAM-2.3.x Author: Guglielmo Minelli Peer reviewed

More information

Implementation of HLLC-AUSM low-mach scheme in a density-based compressible solver in FOAM-extend

Implementation of HLLC-AUSM low-mach scheme in a density-based compressible solver in FOAM-extend Implementation of HLLC-AUSM low-mach scheme in a density-based compressible solver in FOAM-extend Mohammad Hossein Arabnejad Mechanics and Maritime Sciences/Marine Technology, Chalmers University of Technology,

More information

Simplified flow around a propeller for the course CFD with OpenSource Software

Simplified flow around a propeller for the course CFD with OpenSource Software Simplified flow around a propeller for the course CFD with OpenSource Software Gonzalo Montero Applied Mechanics/Fluid Dynamics, Chalmers University of Technology, Gothenburg, Sweden 2015-12-08 Gonzalo

More information

Numerical Methods in Aerodynamics. Turbulence Modeling. Lecture 5: Turbulence modeling

Numerical Methods in Aerodynamics. Turbulence Modeling. Lecture 5: Turbulence modeling Turbulence Modeling Niels N. Sørensen Professor MSO, Ph.D. Department of Civil Engineering, Alborg University & Wind Energy Department, Risø National Laboratory Technical University of Denmark 1 Outline

More information

Hybrid LES RANS Method Based on an Explicit Algebraic Reynolds Stress Model

Hybrid LES RANS Method Based on an Explicit Algebraic Reynolds Stress Model Hybrid RANS Method Based on an Explicit Algebraic Reynolds Stress Model Benoit Jaffrézic, Michael Breuer and Antonio Delgado Institute of Fluid Mechanics, LSTM University of Nürnberg bjaffrez/breuer@lstm.uni-erlangen.de

More information

OpenFOAM selected solver

OpenFOAM selected solver OpenFOAM selected solver Roberto Pieri - SCS Italy 16-18 June 2014 Introduction to Navier-Stokes equations and RANS Turbulence modelling Numeric discretization Navier-Stokes equations Convective term {}}{

More information

Magnetic induction and electric potential solvers for incompressible MHD flows

Magnetic induction and electric potential solvers for incompressible MHD flows Magnetic induction and electric potential solvers for incompressible MHD flows Alessandro Tassone DIAEE - Nuclear Section, Sapienza Università di Roma, Rome, Italy 05/12/2016 Alessandro Tassone CMHD Solvers

More information

Explicit algebraic Reynolds stress models for boundary layer flows

Explicit algebraic Reynolds stress models for boundary layer flows 1. Explicit algebraic models Two explicit algebraic models are here compared in order to assess their predictive capabilities in the simulation of boundary layer flow cases. The studied models are both

More information

Euclidean invariance and weak-equilibrium condition for the algebraic Reynolds stress model

Euclidean invariance and weak-equilibrium condition for the algebraic Reynolds stress model J. Fluid Mech. 2006), vol. 569, pp. 399 408. c 2006 Cambridge University Press doi:10.1017/s0022112006003041 Printed in the United Kingdom 399 Euclidean invariance and weak-equilibrium condition for the

More information

NONLINEAR FEATURES IN EXPLICIT ALGEBRAIC MODELS FOR TURBULENT FLOWS WITH ACTIVE SCALARS

NONLINEAR FEATURES IN EXPLICIT ALGEBRAIC MODELS FOR TURBULENT FLOWS WITH ACTIVE SCALARS June - July, 5 Melbourne, Australia 9 7B- NONLINEAR FEATURES IN EXPLICIT ALGEBRAIC MODELS FOR TURBULENT FLOWS WITH ACTIVE SCALARS Werner M.J. Lazeroms () Linné FLOW Centre, Department of Mechanics SE-44

More information

Description of reactingtwophaseeulerfoam solver with a focus on mass transfer modeling terms

Description of reactingtwophaseeulerfoam solver with a focus on mass transfer modeling terms Description of reactingtwophaseeulerfoam solver with a focus on mass transfer modeling terms Submitted by: Thummala Phanindra Prasad, Environmental Engineering Department, Anadolu University of Technology,

More information

Tutorial 11. Use of User-Defined Scalars and User-Defined Memories for Modeling Ohmic Heating

Tutorial 11. Use of User-Defined Scalars and User-Defined Memories for Modeling Ohmic Heating Tutorial 11. Use of User-Defined Scalars and User-Defined Memories for Modeling Ohmic Heating Introduction The purpose of this tutorial is to illustrate the use of user-defined scalars (UDS) and user defined

More information

Description of AdjointShapeOptimizationFoam and how to implement new cost functions

Description of AdjointShapeOptimizationFoam and how to implement new cost functions Description of AdjointShapeOptimizationFoam and how to implement new cost functions A project work in the course CFD with OpenSource software, taught by Håkan Nilsson. Chalmers University of Technology,

More information

Implementing Vortex Lattice Representation of Propeller Sections

Implementing Vortex Lattice Representation of Propeller Sections CFD with OpenSource Software 2014 Implementing Vortex Lattice Representation of Propeller Sections Developed for OpenFOAM-2.3.x Surya Kiran Peravali Chalmers University of Technology, Gothenburg, Sweden.

More information

On the transient modelling of impinging jets heat transfer. A practical approach

On the transient modelling of impinging jets heat transfer. A practical approach Turbulence, Heat and Mass Transfer 7 2012 Begell House, Inc. On the transient modelling of impinging jets heat transfer. A practical approach M. Bovo 1,2 and L. Davidson 1 1 Dept. of Applied Mechanics,

More information

Tutorial for the heated pipe with constant fluid properties in STAR-CCM+

Tutorial for the heated pipe with constant fluid properties in STAR-CCM+ Tutorial for the heated pipe with constant fluid properties in STAR-CCM+ For performing this tutorial, it is necessary to have already studied the tutorial on the upward bend. In fact, after getting abilities

More information

There are no simple turbulent flows

There are no simple turbulent flows Turbulence 1 There are no simple turbulent flows Turbulent boundary layer: Instantaneous velocity field (snapshot) Ref: Prof. M. Gad-el-Hak, University of Notre Dame Prediction of turbulent flows standard

More information

Dam break free surface flow

Dam break free surface flow Dam break free surface flow Physical and numerical side of the problem: In this case we are going to use the VOF method. This method solves the incompressible Navier-Stokes equations plus an additional

More information

Tutorial: Premixed Flow in a Conical Chamber using the Finite-Rate Chemistry Model

Tutorial: Premixed Flow in a Conical Chamber using the Finite-Rate Chemistry Model Tutorial: Premixed Flow in a Conical Chamber using the Finite-Rate Chemistry Model Introduction The purpose of this tutorial is to provide guidelines and recommendations for setting up and solving the

More information

Numerical solving of non-linear Schrödinger equation

Numerical solving of non-linear Schrödinger equation Numerical solving of non-linear Schrödinger equation March 14, 2011 1 Initial objective On first stage, it was shown that OpenFOAM could be used in principle for solving nonlinear Schrödinger equation.

More information

Manhar Dhanak Florida Atlantic University Graduate Student: Zaqie Reza

Manhar Dhanak Florida Atlantic University Graduate Student: Zaqie Reza REPRESENTING PRESENCE OF SUBSURFACE CURRENT TURBINES IN OCEAN MODELS Manhar Dhanak Florida Atlantic University Graduate Student: Zaqie Reza 1 Momentum Equations 2 Effect of inclusion of Coriolis force

More information

CFD analysis of the transient flow in a low-oil concentration hydrocyclone

CFD analysis of the transient flow in a low-oil concentration hydrocyclone CFD analysis of the transient flow in a low-oil concentration hydrocyclone Paladino, E. E. (1), Nunes, G. C. () and Schwenk, L. (1) (1) ESSS Engineering Simulation and Scientific Software CELTA - Rod SC-41,

More information

ON USING ARTIFICIAL COMPRESSIBILITY METHOD FOR SOLVING TURBULENT FLOWS

ON USING ARTIFICIAL COMPRESSIBILITY METHOD FOR SOLVING TURBULENT FLOWS Conference Applications of Mathematics 212 in honor of the 6th birthday of Michal Křížek. Institute of Mathematics AS CR, Prague 212 ON USING ARTIFICIAL COMPRESSIBILITY METHOD FOR SOLVING TURBULENT FLOWS

More information

Pressure-velocity correction method Finite Volume solution of Navier-Stokes equations Exercise: Finish solving the Navier Stokes equations

Pressure-velocity correction method Finite Volume solution of Navier-Stokes equations Exercise: Finish solving the Navier Stokes equations Today's Lecture 2D grid colocated arrangement staggered arrangement Exercise: Make a Fortran program which solves a system of linear equations using an iterative method SIMPLE algorithm Pressure-velocity

More information

Adding electric conduction and Joule heating to chtmultiregionfoam Niklas Järvstråt

Adding electric conduction and Joule heating to chtmultiregionfoam Niklas Järvstråt Adding electric conduction and Joule heating to chtmultiregionfoam Niklas Järvstråt Physical equations: Thermal conduction (with Joule heating and passive transport included) Thermal conduction is standard

More information

Explicit algebraic Reynolds stress models for internal flows

Explicit algebraic Reynolds stress models for internal flows 5. Double Circular Arc (DCA) cascade blade flow, problem statement The second test case deals with a DCA compressor cascade, which is considered a severe challenge for the CFD codes, due to the presence

More information

Computational Fluid Dynamics 2

Computational Fluid Dynamics 2 Seite 1 Introduction Computational Fluid Dynamics 11.07.2016 Computational Fluid Dynamics 2 Turbulence effects and Particle transport Martin Pietsch Computational Biomechanics Summer Term 2016 Seite 2

More information

OpenFOAM SIMULATION OF THE FLOW IN THE HÖLLEFORSEN DRAFT TUBE MODEL

OpenFOAM SIMULATION OF THE FLOW IN THE HÖLLEFORSEN DRAFT TUBE MODEL Turbine-99 III Proceedings of the third IAHR/ERCOFTAC workshop on draft tube flow 8-9 December 2005, Porjus, Sweden Paper No. 8 OpenFOAM SIMULATION OF THE FLOW IN THE HÖLLEFORSEN DRAFT TUBE MODEL Nilsson

More information

3D Dam break Free surface flow

3D Dam break Free surface flow Dam break free surface flow Gravity Obstacle Box with open top Water column Physical and numerical side of the problem: In this case we are going to use the volume of fluid (VOF) method. This method solves

More information

Solving PDEs with OpenFOAM

Solving PDEs with OpenFOAM Solving PDEs with OpenFOAM ThePDEswewishtosolveinvolvederivativesoftensorfieldswith respect to time and space The PDEs must be discretized in time and space before we solve them We will start by having

More information

Fluid Dynamics Exercises and questions for the course

Fluid Dynamics Exercises and questions for the course Fluid Dynamics Exercises and questions for the course January 15, 2014 A two dimensional flow field characterised by the following velocity components in polar coordinates is called a free vortex: u r

More information

AN UNCERTAINTY ESTIMATION EXAMPLE FOR BACKWARD FACING STEP CFD SIMULATION. Abstract

AN UNCERTAINTY ESTIMATION EXAMPLE FOR BACKWARD FACING STEP CFD SIMULATION. Abstract nd Workshop on CFD Uncertainty Analysis - Lisbon, 19th and 0th October 006 AN UNCERTAINTY ESTIMATION EXAMPLE FOR BACKWARD FACING STEP CFD SIMULATION Alfredo Iranzo 1, Jesús Valle, Ignacio Trejo 3, Jerónimo

More information

High-level programming in OpenFOAM and a first glance at C++

High-level programming in OpenFOAM and a first glance at C++ High-level programming in OpenFOAM and a first glance at C++ Håkan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 1 Solving PDEs with OpenFOAM The PDEs we wish to solve involve derivatives of tensor

More information

Draft Tube calculations using OpenFOAM-1.5dev and validation with FLINDT data

Draft Tube calculations using OpenFOAM-1.5dev and validation with FLINDT data 6th OpenFOAM Workshop, June 13-16 2011, PennState University, USA Draft Tube calculations using OpenFOAM-1.5dev and validation with FLINDT data C. Devals, Y. Zhang and F.Guibault École Polytechnique de

More information

CFD with OpenSource software A course at Chalmers University of Technology Taught by HÅKAN NILSSON. Project work: intersettlingfoam

CFD with OpenSource software A course at Chalmers University of Technology Taught by HÅKAN NILSSON. Project work: intersettlingfoam Taught by HÅKAN NILSSON Project work: intersettlingfoa Developed for OpenFOAM-2.2.0 Author: Pedra Rain Deceber, 2013 2/21/2014 1 Presentation Outline: The objective of this presentation Introduction to

More information

CHAPTER 4 OPTIMIZATION OF COEFFICIENT OF LIFT, DRAG AND POWER - AN ITERATIVE APPROACH

CHAPTER 4 OPTIMIZATION OF COEFFICIENT OF LIFT, DRAG AND POWER - AN ITERATIVE APPROACH 82 CHAPTER 4 OPTIMIZATION OF COEFFICIENT OF LIFT, DRAG AND POWER - AN ITERATIVE APPROACH The coefficient of lift, drag and power for wind turbine rotor is optimized using an iterative approach. The coefficient

More information

OPTIMAL DESIGN OF CLUTCH PLATE BASED ON HEAT AND STRUCTURAL PARAMETERS USING CFD AND FEA

OPTIMAL DESIGN OF CLUTCH PLATE BASED ON HEAT AND STRUCTURAL PARAMETERS USING CFD AND FEA International Journal of Mechanical Engineering and Technology (IJMET) Volume 9, Issue 5, May 2018, pp. 717 724, Article ID: IJMET_09_05_079 Available online at http://www.iaeme.com/ijmet/issues.asp?jtype=ijmet&vtype=9&itype=5

More information

CHAPTER 7 NUMERICAL MODELLING OF A SPIRAL HEAT EXCHANGER USING CFD TECHNIQUE

CHAPTER 7 NUMERICAL MODELLING OF A SPIRAL HEAT EXCHANGER USING CFD TECHNIQUE CHAPTER 7 NUMERICAL MODELLING OF A SPIRAL HEAT EXCHANGER USING CFD TECHNIQUE In this chapter, the governing equations for the proposed numerical model with discretisation methods are presented. Spiral

More information

Differential relations for fluid flow

Differential relations for fluid flow Differential relations for fluid flow In this approach, we apply basic conservation laws to an infinitesimally small control volume. The differential approach provides point by point details of a flow

More information

ENGINEERING MECHANICS 2012 pp Svratka, Czech Republic, May 14 17, 2012 Paper #195

ENGINEERING MECHANICS 2012 pp Svratka, Czech Republic, May 14 17, 2012 Paper #195 . 18 m 2012 th International Conference ENGINEERING MECHANICS 2012 pp. 309 315 Svratka, Czech Republic, May 14 17, 2012 Paper #195 NUMERICAL SIMULATION OF TRANSITIONAL FLOWS WITH LAMINAR KINETIC ENERGY

More information

A Thorough Description Of How Wall Functions Are Implemented In OpenFOAM

A Thorough Description Of How Wall Functions Are Implemented In OpenFOAM Cite as: Fangqing Liu.: A Thorough Description Of How Wall Functions Are Implemented In OpenFOAM. In Proceedings of CFD with OpenSource Software, 2016, Edited by Nilsson. H., http://www.tfd.chalmers.se/~hani/kurser/os_cfd_2016

More information

EXPLICIT ALGEBRAIC MODELS FOR STRATIFIED FLOWS

EXPLICIT ALGEBRAIC MODELS FOR STRATIFIED FLOWS EXPLICIT ALGEBRAIC MODELS FOR STRATIFIED FLOWS W.M.J. Lazeroms, G. Brethouwer, S. Wallin,2, and A.V. Johansson Linné FLOW Centre, KTH Mechanics, SE- 44 Stockholm, Sweden 2 Swedish Defence Research Agency

More information

Prediction of Performance Characteristics of Orifice Plate Assembly for Non-Standard Conditions Using CFD

Prediction of Performance Characteristics of Orifice Plate Assembly for Non-Standard Conditions Using CFD International Journal of Engineering and Technical Research (IJETR) ISSN: 2321-0869, Volume-3, Issue-5, May 2015 Prediction of Performance Characteristics of Orifice Plate Assembly for Non-Standard Conditions

More information

Numerical modeling of complex turbulent flows

Numerical modeling of complex turbulent flows ISTP-16, 5, PRAGUE 16 TH INTERNATIONAL SYMPOSIUM ON TRANSPORT PHENOMENA Numerical modeling of complex turbulent flows Karel Kozel Petr Louda Jaromír Příhoda Dept. of Technical Mathematics CTU Prague, Karlovo

More information

Simulations for Enhancing Aerodynamic Designs

Simulations for Enhancing Aerodynamic Designs Simulations for Enhancing Aerodynamic Designs 2. Governing Equations and Turbulence Models by Dr. KANNAN B T, M.E (Aero), M.B.A (Airline & Airport), PhD (Aerospace Engg), Grad.Ae.S.I, M.I.E, M.I.A.Eng,

More information

FLOWS MODELING IN AUTOMOTIVE ENGINEERING

FLOWS MODELING IN AUTOMOTIVE ENGINEERING ROZWÓJ POTENCJAŁU I OFERTY DYDAKTYCZNEJ POLITECHNIKI WROCŁAWSKIEJ Wrocław University of Technology Automotive Engineering Marcin Tkaczyk FLOWS MODELING IN AUTOMOTIVE ENGINEERING Wrocław 2011 Projekt współfinansowany

More information

2. FLUID-FLOW EQUATIONS SPRING 2019

2. FLUID-FLOW EQUATIONS SPRING 2019 2. FLUID-FLOW EQUATIONS SPRING 2019 2.1 Introduction 2.2 Conservative differential equations 2.3 Non-conservative differential equations 2.4 Non-dimensionalisation Summary Examples 2.1 Introduction Fluid

More information

Calculations on a heated cylinder case

Calculations on a heated cylinder case Calculations on a heated cylinder case J. C. Uribe and D. Laurence 1 Introduction In order to evaluate the wall functions in version 1.3 of Code Saturne, a heated cylinder case has been chosen. The case

More information

Simulation and validation of turbulent gas flow in a cyclone using Caelus. Dr Darrin W Stephens Dr Chris Sideroff Prof.

Simulation and validation of turbulent gas flow in a cyclone using Caelus. Dr Darrin W Stephens Dr Chris Sideroff Prof. Simulation and validation of turbulent gas flow in a cyclone using Caelus Dr Darrin W Stephens Dr Chris Sideroff Prof. Aleksandar Jemcov Introduction Cyclones play a dominant role in industrial separation

More information

Solving PDEs with OpenFOAM

Solving PDEs with OpenFOAM Solving PDEs with OpenFOAM ThePDEswewishtosolveinvolvederivativesoftensorfieldswith respect to time and space ThePDEsmustbediscretizedintimeandspacebeforewesolve them WewillstartbyhavingalookatalgebraoftensorsinOpenFOAM

More information

Peristaltic Pump. Introduction. Model Definition

Peristaltic Pump. Introduction. Model Definition Peristaltic Pump Introduction In a peristaltic pump, rotating rollers are squeezing a flexible tube. As the pushed down rollers move along the tube, the fluid in the tube follows the motion. The main advantage

More information

Numerical investigation of swirl flow inside a supersonic nozzle

Numerical investigation of swirl flow inside a supersonic nozzle Advances in Fluid Mechanics IX 131 Numerical investigation of swirl flow inside a supersonic nozzle E. Eslamian, H. Shirvani & A. Shirvani Faculty of Science and Technology, Anglia Ruskin University, UK

More information

Viscoelastic Fluid Simulation with OpenFOAM

Viscoelastic Fluid Simulation with OpenFOAM Viscoelastic Fluid Simulation with OpenFOAM Joan Marco Rimmek and Adrià Barja Romero Universitat Politècnica de Catalunya. BarcelonaTECH. (Dated: May 31, 2017) Viscoelastic fluids do not behave like newtonian

More information

The Simulation of Wraparound Fins Aerodynamic Characteristics

The Simulation of Wraparound Fins Aerodynamic Characteristics The Simulation of Wraparound Fins Aerodynamic Characteristics Institute of Launch Dynamics Nanjing University of Science and Technology Nanjing Xiaolingwei 00 P. R. China laithabbass@yahoo.com Abstract:

More information

Micro-Scale CFD Modeling of Packed-Beds

Micro-Scale CFD Modeling of Packed-Beds Micro-Scale CFD Modeling of Packed-Beds Daniel P. Combest and Dr. P.A. Ramachandran and Dr. M.P. Dudukovic Chemical Reaction Engineering Laboratory (CREL) Department of Energy, Environmental, and Chemical

More information

"C:\Program Files\ANSYS Inc\v190\CFX\bin\perllib\cfx5solve.pl" -batch -ccl runinput.ccl -fullname "Fluid Flow CFX_002"

C:\Program Files\ANSYS Inc\v190\CFX\bin\perllib\cfx5solve.pl -batch -ccl runinput.ccl -fullname Fluid Flow CFX_002 This run of the CFX Release 19.0 Solver started at 19:06:17 on 05 Jun 2018 by user ltval on DESKTOP-JCG0747 (intel_xeon64.sse2_winnt) using the command: "C:\Program Files\ANSYS Inc\v190\CFX\bin\perllib\cfx5solve.pl"

More information

Taylor Dispersion Created by Robert P. Hesketh, Chemical Engineering, Rowan University Fall 2005

Taylor Dispersion Created by Robert P. Hesketh, Chemical Engineering, Rowan University Fall 2005 Taylor Dispersion Created by Robert P. Hesketh, Chemical Engineering, Rowan University Fall 005 In this problem you will simulate a tubular reactor with fluid flowing in laminar flow. The governing equations

More information

Presentation for the course «CFD with OpenSource Software» Alexey Vdovin Chalmers University of Technology

Presentation for the course «CFD with OpenSource Software» Alexey Vdovin Chalmers University of Technology Presentation for the course «CFD with OpenSource Software» Alexey Vdovin Chalmers University of Technology Agenda(1) Introduction Addition of the radiation heat transfer to the solver Radiation models

More information

Improvement of lagrangian approach for multiphase flow

Improvement of lagrangian approach for multiphase flow Matteo Nobile Improvement of lagrangian approach for multiphase flow 2014/12/1-2 1/40 Improvement of lagrangian approach for multiphase flow (Project for the course CFD with OpenSource Software, 2014 )

More information

A Computational Investigation of a Turbulent Flow Over a Backward Facing Step with OpenFOAM

A Computational Investigation of a Turbulent Flow Over a Backward Facing Step with OpenFOAM 206 9th International Conference on Developments in esystems Engineering A Computational Investigation of a Turbulent Flow Over a Backward Facing Step with OpenFOAM Hayder Al-Jelawy, Stefan Kaczmarczyk

More information

The effect of geometric parameters on the head loss factor in headers

The effect of geometric parameters on the head loss factor in headers Fluid Structure Interaction V 355 The effect of geometric parameters on the head loss factor in headers A. Mansourpour & S. Shayamehr Mechanical Engineering Department, Azad University of Karaj, Iran Abstract

More information

Turbulence Modeling I!

Turbulence Modeling I! Outline! Turbulence Modeling I! Grétar Tryggvason! Spring 2010! Why turbulence modeling! Reynolds Averaged Numerical Simulations! Zero and One equation models! Two equations models! Model predictions!

More information

Lecture 2 Flow classifications and continuity

Lecture 2 Flow classifications and continuity Lecture 2 Flow classifications and continuity Dr Tim Gough: t.gough@bradford.ac.uk General information 1 No tutorial week 3 3 rd October 2013 this Thursday. Attempt tutorial based on examples from today

More information

Curvature correction and application of the v 2 f turbulence model to tip vortex flows

Curvature correction and application of the v 2 f turbulence model to tip vortex flows Center for Turbulence Research Annual Research Briefs 5 157 Curvature correction and application of the v f turbulence model to tip vortex flows By K. Duraisamy AND G. Iaccarino 1. Motivation and objectives

More information

Turbulence is a ubiquitous phenomenon in environmental fluid mechanics that dramatically affects flow structure and mixing.

Turbulence is a ubiquitous phenomenon in environmental fluid mechanics that dramatically affects flow structure and mixing. Turbulence is a ubiquitous phenomenon in environmental fluid mechanics that dramatically affects flow structure and mixing. Thus, it is very important to form both a conceptual understanding and a quantitative

More information

COMPUTATIONAL FLOW ANALYSIS THROUGH A DOUBLE-SUCTION IMPELLER OF A CENTRIFUGAL PUMP

COMPUTATIONAL FLOW ANALYSIS THROUGH A DOUBLE-SUCTION IMPELLER OF A CENTRIFUGAL PUMP Proceedings of the Fortieth National Conference on Fluid Mechanics and Fluid Power December 12-14, 2013, NIT Hamirpur, Himachal Pradesh, India FMFP2013_141 COMPUTATIONAL FLOW ANALYSIS THROUGH A DOUBLE-SUCTION

More information

Tutorial Eleven Reaction

Tutorial Eleven Reaction Reaction 4 th edition, Jan. 2018 This offering is not approved or endorsed by ESI Group, ESI-OpenCFD or the OpenFOAM Foundation, the producer of the OpenFOAM software and owner of the OpenFOAM trademark.

More information

Available online at ScienceDirect. Procedia Engineering 90 (2014 )

Available online at   ScienceDirect. Procedia Engineering 90 (2014 ) Available online at www.sciencedirect.com ScienceDirect Procedia Engineering 9 (214 ) 599 64 1th International Conference on Mechanical Engineering, ICME 213 Validation criteria for DNS of turbulent heat

More information

Basic Fluid Mechanics

Basic Fluid Mechanics Basic Fluid Mechanics Chapter 6A: Internal Incompressible Viscous Flow 4/16/2018 C6A: Internal Incompressible Viscous Flow 1 6.1 Introduction For the present chapter we will limit our study to incompressible

More information

Turbulence: Basic Physics and Engineering Modeling

Turbulence: Basic Physics and Engineering Modeling DEPARTMENT OF ENERGETICS Turbulence: Basic Physics and Engineering Modeling Numerical Heat Transfer Pietro Asinari, PhD Spring 2007, TOP UIC Program: The Master of Science Degree of the University of Illinois

More information

7. Basics of Turbulent Flow Figure 1.

7. Basics of Turbulent Flow Figure 1. 1 7. Basics of Turbulent Flow Whether a flow is laminar or turbulent depends of the relative importance of fluid friction (viscosity) and flow inertia. The ratio of inertial to viscous forces is the Reynolds

More information

Model Studies on Slag-Metal Entrainment in Gas Stirred Ladles

Model Studies on Slag-Metal Entrainment in Gas Stirred Ladles Model Studies on Slag-Metal Entrainment in Gas Stirred Ladles Anand Senguttuvan Supervisor Gordon A Irons 1 Approach to Simulate Slag Metal Entrainment using Computational Fluid Dynamics Introduction &

More information

Tutorial for the supercritical pressure pipe with STAR-CCM+

Tutorial for the supercritical pressure pipe with STAR-CCM+ Tutorial for the supercritical pressure pipe with STAR-CCM+ For performing this tutorial, it is necessary to have already studied the tutorial on the upward bend. In fact, after getting abilities with

More information

Project #1 Internal flow with thermal convection

Project #1 Internal flow with thermal convection Project #1 Internal flow with thermal convection MAE 494/598, Fall 2017, Project 1 (20 points) Hard copy of report is due at the start of class on the due date. The rules on collaboration will be released

More information

Capturing turbulent density flux effects in variable density flow by an explicit algebraic model

Capturing turbulent density flux effects in variable density flow by an explicit algebraic model Capturing turbulent density flux effects in variable density flow by an explicit algebraic model I. A. Grigoriev, S. Wallin, G. Brethouwer, and A. V. Johansson Citation: Physics of Fluids 1994-present

More information

Numerical Simulation of the Hagemann Entrainment Experiments

Numerical Simulation of the Hagemann Entrainment Experiments CCC Annual Report UIUC, August 14, 2013 Numerical Simulation of the Hagemann Entrainment Experiments Kenneth Swartz (BSME Student) Lance C. Hibbeler (Ph.D. Student) Department of Mechanical Science & Engineering

More information

DEVELOPMENT OF CFD MODEL FOR A SWIRL STABILIZED SPRAY COMBUSTOR

DEVELOPMENT OF CFD MODEL FOR A SWIRL STABILIZED SPRAY COMBUSTOR DRAFT Proceedings of ASME IMECE: International Mechanical Engineering Conference & Exposition Chicago, Illinois Nov. 5-10, 2006 IMECE2006-14867 DEVELOPMENT OF CFD MODEL FOR A SWIRL STABILIZED SPRAY COMBUSTOR

More information

CHARACTERISTIC OF VORTEX IN A MIXING LAYER FORMED AT NOZZLE PITZDAILY USING OPENFOAM

CHARACTERISTIC OF VORTEX IN A MIXING LAYER FORMED AT NOZZLE PITZDAILY USING OPENFOAM CHARACTERISTIC OF VORTEX IN A MIXING LAYER FORMED AT NOZZLE PITZDAILY USING OPENFOAM Suheni and Syamsuri Department of Mechanical Engineering, Adhi Tama Institute of Technology Surabaya, Indonesia E-Mail:

More information

CFD SIMULATION OF A SINGLE PHASE FLOW IN A PIPE SEPARATOR USING REYNOLDS STRESS METHOD

CFD SIMULATION OF A SINGLE PHASE FLOW IN A PIPE SEPARATOR USING REYNOLDS STRESS METHOD CFD SIMULATION OF A SINGLE PHASE FLOW IN A PIPE SEPARATOR USING REYNOLDS STRESS METHOD Eyitayo A. Afolabi 1 and J. G. M. Lee 2 1 Department of Chemical Engineering, Federal University of Technology, Minna,

More information

Mass Transfer in a Stirred Batch Reactor

Mass Transfer in a Stirred Batch Reactor Mass Transfer in a Stirred Batch Reactor In many processes, efficient reactor usage goes hand in hand with efficient mixing. The ability to accurately examine the effects of impeller placement, speed,

More information

Uncertainty quantification for RANS simulation of flow over a wavy wall

Uncertainty quantification for RANS simulation of flow over a wavy wall Uncertainty quantification for RANS simulation of flow over a wavy wall Catherine Gorlé 1,2,3, Riccardo Rossi 1,4, and Gianluca Iaccarino 1 1 Center for Turbulence Research, Stanford University, Stanford,

More information

1 Introduction to Governing Equations 2 1a Methodology... 2

1 Introduction to Governing Equations 2 1a Methodology... 2 Contents 1 Introduction to Governing Equations 2 1a Methodology............................ 2 2 Equation of State 2 2a Mean and Turbulent Parts...................... 3 2b Reynolds Averaging.........................

More information

Colloquium FLUID DYNAMICS 2012 Institute of Thermomechanics AS CR, v.v.i., Prague, October 24-26, 2012 p.

Colloquium FLUID DYNAMICS 2012 Institute of Thermomechanics AS CR, v.v.i., Prague, October 24-26, 2012 p. Colloquium FLUID DYNAMICS 212 Institute of Thermomechanics AS CR, v.v.i., Prague, October 24-26, 212 p. ON A COMPARISON OF NUMERICAL SIMULATIONS OF ATMOSPHERIC FLOW OVER COMPLEX TERRAIN T. Bodnár, L. Beneš

More information

Getting started: CFD notation

Getting started: CFD notation PDE of p-th order Getting started: CFD notation f ( u,x, t, u x 1,..., u x n, u, 2 u x 1 x 2,..., p u p ) = 0 scalar unknowns u = u(x, t), x R n, t R, n = 1,2,3 vector unknowns v = v(x, t), v R m, m =

More information

An Overview of CFD Tools and Comparison of a 2D Testcase

An Overview of CFD Tools and Comparison of a 2D Testcase An Overview of CFD Tools and Comparison of a 2D Testcase CES Seminar Project Thesis presented by Moritz Begall 296113 Advisor: Alexandra Krieger, Ph.D. Aachen, 01.09.2015 Abstract This report presents

More information

High-level programming in OpenFOAM and a first glance at C++

High-level programming in OpenFOAM and a first glance at C++ High-level programming in OpenFOAM and a first glance at C++ Håkan Nilsson, Chalmers / Mechanics and Maritime Sciences / Fluid Dynamics 1 Solving PDEs with OpenFOAM The PDEs we wish to solve involve derivatives

More information

DEVELOPED LAMINAR FLOW IN PIPE USING COMPUTATIONAL FLUID DYNAMICS M.

DEVELOPED LAMINAR FLOW IN PIPE USING COMPUTATIONAL FLUID DYNAMICS M. DEVELOPED LAMINAR FLOW IN PIPE USING COMPUTATIONAL FLUID DYNAMICS M. Sahu 1, Kishanjit Kumar Khatua and Kanhu Charan Patra 3, T. Naik 4 1, &3 Department of Civil Engineering, National Institute of technology,

More information

Validation 3. Laminar Flow Around a Circular Cylinder

Validation 3. Laminar Flow Around a Circular Cylinder Validation 3. Laminar Flow Around a Circular Cylinder 3.1 Introduction Steady and unsteady laminar flow behind a circular cylinder, representing flow around bluff bodies, has been subjected to numerous

More information