SIMULATION OF FLUID-STRUCTURAL INTERACTION

Similar documents
Transient flow simulations

FVM for Fluid-Structure Interaction with Large Structural Displacements

Porous Media in OpenFOAM

viscousheatingsolver Martin Becker

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

Dam break free surface flow

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

Large Scale Fluid-Structure Interaction by coupling OpenFOAM with external codes

3D Dam break Free surface flow

Implementing a Partitioned Algorithm for Fluid-Structure Interaction of Flexible Flapping Wings within Overture

Magnetic induction and electric potential solvers for incompressible MHD flows

Leaf Spring (Material, Contact, geometric nonlinearity)

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

Analysis of Planar Truss

A numerical study of vortex-induced vibrations (viv) in an elastic cantilever

A multi-solver quasi-newton method for the partitioned simulation of fluid-structure interaction

The following syntax is used to describe a typical irreducible continuum element:

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

Course in. Geometric nonlinearity. Nonlinear FEM. Computational Mechanics, AAU, Esbjerg

Fluid-Structure Interaction Problems using SU2 and External Finite-Element Solvers

DISPENSA FEM in MSC. Nastran

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

Coupling techniques for partitioned fluid structure interaction simulations with black box solvers

Example 37 - Analytical Beam

Introduction to FARGO3D

LEAST-SQUARES FINITE ELEMENT MODELS

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

5. FVM discretization and Solution Procedure

USER S MANUAL 1D Seismic Site Response Analysis Example University of California: San Diego August 30, 2017

USER S MANUAL. 1D Seismic Site Response Analysis Example. University of California: San Diego.

Software Verification

arxiv: v1 [physics.comp-ph] 27 Nov 2018

USER S MANUAL 1D Seismic Site Response Analysis Example University of California: San Diego August 30, 2017

Project. First Saved Monday, June 27, 2011 Last Saved Wednesday, June 29, 2011 Product Version 13.0 Release

ALASKA ENERGY AUTHORITY AEA ENGINEERING FEASIBILITY REPORT. Appendix B8. Finite Element Analysis

Overview of the PyLith Finite Element Code

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

Performance Evaluation of Various Smoothed Finite Element Methods with Tetrahedral Elements in Large Deformation Dynamic Analysis

ENGN 2290: Plasticity Computational plasticity in Abaqus

Numerical Solution Techniques in Mechanical and Aerospace Engineering

Part IV: Numerical schemes for the phase-filed model

A unifying model for fluid flow and elastic solid deformation: a novel approach for fluid-structure interaction and wave propagation

Lecture 4 Implementing material models: using usermat.f. Implementing User-Programmable Features (UPFs) in ANSYS ANSYS, Inc.

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

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

Chapter 2 Finite Element Formulations

Non-linear and time-dependent material models in Mentat & MARC. Tutorial with Background and Exercises

Elmer :Heat transfert with phase change solid-solid in transient problem Application to silicon properties. SIF file : phasechange solid-solid

Numerical methods for the Navier- Stokes equations

A monolithic fluid structure interaction solver Verification and Validation Application: venous valve motion

A monolithic FEM solver for fluid structure

A multiscale framework for lubrication analysis of bearings with textured surface

OpenFOAM selected solver

1 Exercise: Linear, incompressible Stokes flow with FE

SDLV302 Modal analysis by under-structuring: bi-- supported beam

MEG 795 COURSE PROJECT

Deformation of bovine eye fluid structure interaction between viscoelastic vitreous, non-linear elastic lens and sclera

Geometric Nonlinear Analysis of a Cantilever Beam

Dynamics Manual. Version 7

The Shallow Water Equations

Tolerance Ring Improvement for Reducing Metal Scratch

2D Liquefaction Analysis for Bridge Abutment

midas NFX 2015 R1 Release Note

Transient Thermal Flow and Thermal Stress Analysis Coupled NASTRAN and SC/Tetra

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

ANSYS Explicit Dynamics Update. Mai Doan

Mechanics of Structures (CE130N) Lab 3

Transient flow and heat equations - the Rayleigh-Benard instability

Description and validation of the rotordisksource class for propeller performance estimation

PDE Solvers for Fluid Flow

CAD package for electromagnetic and thermal analysis using finite elements. Flux. by CEDRAT. Magneto Static application tutorial.

Efficient FEM-multigrid solver for granular material

Anderson acceleration for time-dependent problems

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

Alternative numerical method in continuum mechanics COMPUTATIONAL MULTISCALE. University of Liège Aerospace & Mechanical Engineering

STRUCTURAL ANALYSIS OF A WESTFALL 2800 MIXER, BETA = 0.8 GFS R1. By Kimbal A. Hall, PE. Submitted to: WESTFALL MANUFACTURING COMPANY

Computation Time Assessment of a Galerkin Finite Volume Method (GFVM) for Solving Time Solid Mechanics Problems under Dynamic Loads

Dynamics: Data Preparation

On Air Bubbles Sliding through a Thermal Boundary Layer

A solver for Boussinesq shallow water equations

Computational Simulation of Dynamic Response of Vehicle Tatra T815 and the Ground

Computation for the Backward Facing Step Test Case with an Open Source Code

SOE3213/4: CFD Lecture 3

MATERIAL MECHANICS, SE2126 COMPUTER LAB 4 MICRO MECHANICS. E E v E E E E E v E E + + = m f f. f f

Simulation of flow induced vibrations in pipes using the LS-DYNA ICFD solver

Settlement and Bearing Capacity of a Strip Footing. Nonlinear Analyses

Code_Aster. SSNP161 Biaxial tests of Kupfer

Analysis of a Casted Control Surface using Bi-Linear Kinematic Hardening

EXAMPLE 115 NON-ISOTHERMAL FLOW IN A SINGLE SCREW EXTRUDER DESCRIPTION KEYWORDS FILENAMES. Example 115

Game Physics. Game and Media Technology Master Program - Utrecht University. Dr. Nicolas Pronost

Kasetsart University Workshop. Multigrid methods: An introduction

Hydro-elastic Wagner impact using variational inequalities

Fluid Animation. Christopher Batty November 17, 2011

1-1: Introduction to the Opera-3d software

Peristaltic Pump. Introduction. Model Definition

An Overview of Fluid Animation. Christopher Batty March 11, 2014

Discontinuous Galerkin methods for nonlinear elasticity

Instabilities and Dynamic Rupture in a Frictional Interface

Finite Element Analysis Lecture 1. Dr./ Ahmed Nagib

Coupling Physics. Tomasz Stelmach Senior Application Engineer

Transcription:

SIMULATION OF FLUID-STRUCTURAL INTERACTION USING OPENFOAM Hua-Dong Yao Department of Applied Mechanics, Chalmers University of Technology Sep 15, 2014 Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 1 / 37

OUTLINE Fundamental knowledge on FSI FSI of large deformations simulated with OpenFOAM Fluid solver Structure solver Coupling method Post-processing A tip Questions Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 2 / 37

FLUID-STRUCTURAL INTERACTIONS IN NATURE A falling leave. A flapping flag. Blood circulation in the human heart.... Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 3 / 37

APPROACHES FOR FSI SIMULATIONS The partitioned method is to separately solve the governing equations of the flow and structure with two independent solvers. The monolithic method is to simultaneously solve the governing equations of the flow and structure with a single solver. Fluid Structure Interaction Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 4 / 37

COUPLING TECHNIQUES FOR THE PARTITIONED METHOD The FSI solvers of OpenFOAM in present are implemented using the partitioned method. There are two techniques coupling the fluid and structure solvers, either explicitly or implicitly.? Fluid Structure? Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 5 / 37

EXPLICIT COUPLING The explicit coupling method applies to the weak interaction. OpenFOAM includes a weak-fsi solver. However, the weak-fsi solver is not our concern due to its simplicity. 2 3 Ω n F Ω n+1 F Ω n S Ω n+1 S 1 4 Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 6 / 37

IMPLICIT COUPLING The implicit coupling method is suitable for the strong interaction. The focus in this lecture is the FSI of large structural deformations. Ω n F Ω n+1 F 1 Ω n S Ω n+1 S 1 Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 7 / 37

HOW TO GET THE FSI SOLVER OF OPENFOAM? We will use the version foam-extend-3.1. The link for downloading the latest FSI solver is http://openfoamwiki.net/index.php/extend-bazaar/ Toolkits/Fluid-structure_interaction The new version of OpenFOAM that is coming will include this FSI package. Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 8 / 37

INSTALLATION OF THE FSI SOLVER The solver is installed in the following way: $ OFextend31 // Launch foam-extend-3.1 by typing OFextend31. $ run // Go to the local user directory run. $ mv downloaddir/fsi 31.tar.gz. // Move the downloaded file here. $ tar -xzvf Fsi 31.tar.gz // Extract this file here. // A folder called FluidStructureInteraction is generated. $ cd FluidStructureInteraction/ $ cd src/ $./Allwmake The application of our interest is fsifoam. Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 9 / 37

FILES FOR SETTING UP A COMPUTATION There are in default three tutorial cases for fsifoam. $ cd FluidStructureInteraction/ $ cd run/fsifoam/ $ ls 3dTube beamincrossflow HronTurekFsi3 Take 3dTube for example, $ cd 3dTube/ $ ls fluid makelinks makeseriallinks removeseriallinks solid The folder, fluid, contains the files for the fluid computation. The folder, solid, contains the files for the structure computation. Running the files *Links will link the two computations on the interfaces between the fluid and solid domains. Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 10 / 37

FLOW SIMULATION Fluid is incompressible. The fluid solver utilizes the PISO algorithm. Dynamic mesh is used due to the displacement of FSI interface. The internal grids of the fluid mesh adjust their positions when the FSI interface moves. Settings for the dynamic mesh: $ vi fluid/constant/dynamicmeshdict dynamicfvmesh dynamicmotionsolverfvmesh; solver velocitylaplacian; // Solve the Laplacian equation. diffusivity quadratic inversedistance (fsipatchnamefluidside); Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 11 / 37

SETTINGS FOR FLOW SIMULATION The FSI interface also needs a boundary condition (BC). Its settings are the same as the wall BC, except for the velocity. $ vi fluid/0/u { } type movingwallvelocity; value uniform (0 0 0); The whole FSI simulation takes the settings of the IO and time control that are specified in the fluid solver. $ vi fluid/system/controldict Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 12 / 37

GOVERNING EQUATIONS OF STRUCTURE SOLVER The solid is linear elastic. The governing equations are δv ρ S V S t dv S n u (2µ + λ) δ u ds S = S S n u q ds S + S S δf ρ b S V S t dv S q = µ ( δ u ) T + λtr ( δ u ) I (µ + λ) δ u + µ δ u ( δ u ) T + 1 2 λ ( δ u : δ u ) I + S δf T S + δ S δf T S Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 13 / 37

DISCRETIZATION OF STRUCTURAL EQUATIONS The space discretization: ρ PS V PS δv P t f (2µ f + λ f ) n fs ( δ u ) f S fs = n fs q f S fs + ρ S (δf b ) P V PS f f n fs ( δ u ) f = fs δ u N δ u P d fs + (n fs fs ) ( δ u ) f The backward time discretization: δvp n = 3δ u n P 4δ u o P + δ u oo ( ) n P δvp = 3δv P n 4δv P o 2δt t 2δt + δv oo P Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 14 / 37

SPECIFICATION OF STRUCTURAL PROPERTIES The files in the directory constant $ cd mycase/solid/constant/ $ ls polymesh rheologyproperties stressproperties $ vi rheologyproperties planestress no; // yes for 2D cases, no for 3D cases. rheology { type linearelastic; // The structure is of linear elasticity. rho rho [1-3 0 0 0 0 0] 1000; // Density. E E [1-1 -2 0 0 0 0] 5.6e6; // Young s modulus. nu nu [0 0 0 0 0 0 0] 0.4; // Poisson s ratio. } Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 15 / 37

SPECIFICATION OF STRUCTURAL SOLVER $ cd mycase/solid/constant/ $ vi stressproperties stressmodel unstotallagrangianstress; unstotallagrangianstresscoeffs { ncorrectors 1000; convergencetolerance 1e-7; relconvergencetolerance 1e-3; nonlinear yes; debug no; movemesh yes; } Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 16 / 37

NUMERICAL SCHEMES OF STRUCTURE SOLVER I $ cd mycase/solid/system/ $ vi fvschemes d2dt2schemes { default none; d2dt2(d) backward; } ddtschemes { default ddt(d) } none; backward; D relates to the displacement u in the structural equations. Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 17 / 37

NUMERICAL SCHEMES OF STRUCTURE SOLVER II $ cd mycase/solid/system/ $ vi fvschemes laplacianschemes { default none; laplacian(dd,d) Gauss linear skewcorrected 1; // Gauss linear corrected } Advantage: effectiveness for bad mesh quality. sngradschemes Disadvantage: high computation cost. { default none; sngrad(d) skewcorrected 1; // corrected } DD means the displacement increment δ u in the structural equations. Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 18 / 37

NUMERICAL SCHEMES OF STRUCTURE SOLVER III $ cd mycase/solid/system/ $ vi fvschemes interpolationschemes { default none; interpolate(mu) linear; // leastsquares interpolate(lambda) linear; // leastsquares } Advantage: effectiveness for bad mesh quality. Disadvantage: high computation cost. Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 19 / 37

MATRIX ALGORITHMS OF STRUCTURE SOLVER I $ cd mycase/solid/system/ $ vi fvsolution solvers { D { solver PCG; preconditioner DIC; tolerance 1e-09; } } DD { } reltol 0.1; solver PCG; preconditioner DIC; tolerance 1e-09; reltol 0.1; Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 20 / 37

MATRIX ALGORITHMS OF STRUCTURE SOLVER II $ cd mycase/solid/system/ $ vi fvsolution relaxationfactors { D 0.5; DD 0.5; } Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 21 / 37

BOUNDARY CONDITIONS OF STRUCTURE SOLVER I $ cd mycase/solid/0/ $ vi D fsipatchname { type tractiondisplacement; // The BC type traction uniform ( 0 0 0 ); // Externally imposed traction pressure uniform 0; // Externally imposed pressure value uniform (0 0 0); // Externally imposed displacement } Traction is the force per unit area on a surface, including the normal and shear components. Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 22 / 37

BOUNDARY CONDITIONS OF STRUCTURE SOLVER II $ cd mycase/solid/0/ $ vi D fixedpatchname { type fixeddisplacement; // The BC type value uniform (0 0 0); // Externally imposed displacement } Structural BC types are given by the following source codes. $ OFextend31 $ src // Go to the installation directory of the source codes $ cd./solidmodels/fvpatchfields/ $ ls Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 23 / 37

COUPLING METHOD INTERACTION The exchanged variables on the interfaces are: pressure (p ) and viscous force ( t ) in the fluid side, displacement increment ( u ) and velocity ( v ) in the structure side. p and t Flow field Structure field u and v Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 24 / 37

COUPLING METHOD INTERACTION Update structural mesh Move fluid mesh Fluid solver p i, t i Structure solver u i, v i Compute Residual r i = ( u i u i 1) > SMALL Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 25 / 37

AITKEN RELAXATION The Aitken relaxation applies to accelerate the coupling process. u i = S F ( u i 1 ) r i = ũi ũi 1 r i+1 = ũ i+1 ũ i 0 = r i+1 + r i+1 r i u i ui 1 u i+1 u i = u i r i+1 ũ i ũi 1 r i+1 r i ( ) u i+1 u i := ui 1 ω i r i ω i+1 = ω i = u i + u i ui 1 u i 1 u i + ũi+1 ũ i }{{} ω i+1 ( ) r i, r i+1 r i r i+1 r i 2 ( ) u i 1, r i ( u i 1, 0 ) ( ) u i, r i+1 ( ũ i+1 ) u i }{{} r i+1 Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 26 / 37

SETTINGS FOR COUPLING THE SOLVERS The setting file is located in the fluid solver. $ vi fluid/constant/fsiproperties solidpatch plate; solidzone platezone; fluidpatch plate; fluidzone platezone; relaxationfactor 0.05; interfacedeformationlimit 0; outercorrtolerance 1e-6; noutercorr 30; interpolatorupdatefrequency 0; couplingscheme Aitken; couplingreuse 0; coupled no; Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 27 / 37

CREATION OF COUPLED ZONES The coupling process requires the information of FSI zones. The fluid and structure solvers use the same way to create these zones. Take the fluid solver for example, $ cd myfsicase/fluid/ $ setset -batch setbatch $ setstozones -noflipmap A convenient way is to write the above commands in a batch file. The file setbatch saves the following contents: faceset fsipatchzonename new patchtoface fsipatchname quit Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 28 / 37

LINK THE SOLVERS FOR COUPLING A single-processor computation links the local main directories. $ cd mycase/fluid/constant/ $ ln -s../../solid/constant solid $ cd../system $ ln -s../../solid/system solid $ cd../0 $ ln -s../../solid/0 solid A parallel computation needs to link the above directories for every processor, in addition to the local main directories. foreach proc(processor*) cd $proc cd 0 ln -s../../../solid/$proc/0 solid cd../constant ln -s../../../solid/$proc/constant solid cd../.. Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 29 / 37

LINK THE SOLVERS We can write the above commands into a batch file for convenience. Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 30 / 37

TUTORIALS The FSI package, which we downloaded before, contains three tutorial cases in default. $ cp FluidStructureInteraction/run/fsiFoam myfsitut -r $ cd myfsitut $ ls 3dTube beamincrossflow HronTurekFsi3 Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 31 / 37

HOW TO RUN A COMPUTATION? Take for instant the tutorial case of a three-dimensional tube, $ cd myfsitut/3dtube/ $./makeseriallinks fluid solid $./Allrun Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 32 / 37

POST-PROCESSING The post-processing tool can be parafoam or other commercial softwares. The application parafoam is able to automatically load the results of both the domains. $ parafoam In regard of Tecplot, the command is $ foamtotecplot360 Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 33 / 37

A TIP A patch imposed with the symmetric BC must be precisely flat. Otherwise, the nodes on this patch could deviate from their original positions during the computation. The reason is that computation of the node motions adopts the normal directions of the local cell faces. Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 34 / 37

AN EXERCISE Let us do an exercise with the tutorial case of a flapping plate. Please change the BC type of the fixed walls from fixeddisplacement to timevaryingfixeddisplacement. Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 35 / 37

QUESTIONS What is the implicit coupling method? How to set the IO and time controls for a FSI computation? How to specify the BC types for the variables on the interface between the fluid and structure domains? Which method is utilized to accelerate the convergence speed of the coupling progress? Which variables are transferred on the interface? Which two preliminary works should we do to establish the coupling? Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 36 / 37

Thanks Hua-Dong Yao Simulation of FSI using OpenFOAM Sep 15, 2014 37 / 37