You are on page 1of 9

Dynamic mesh control

• Dynamic mesh control • Deformation • Rotational motion

H. AKIMOTO, Division of Ocean Systems Engineering (OSE), Korea Advanced Institute of Science and Technology

1

free surface) requires dynamic mesh (alternative solution is overset mesh) Note: If all the outer boundaries are open.Dynamic mesh related problems • Motion of object in fluid ▫ Body motion with boundaries (wall. ground. AKIMOTO. Korea Advanced Institute of Science and Technology 2 . deformation is not needed • Rotating machine (open test) ▫ Moving Reference of Frame (MRF) • Rotating machine with casing ▫ Sliding mesh technique H. Division of Ocean Systems Engineering (OSE).

Division of Ocean Systems Engineering (OSE). Korea Advanced Institute of Science and Technology 3 . AKIMOTO.pimpleDyMFoam solver • movingCone case ▫ Mesh: solution of Laplacian solver • Needs velocity boundary condition of mesh • wingMotion case ▫ snappyHexMesh : meshing ▫ simpleFoam : prepare steady flow field ▫ pimpleDyMFoam : flow simulation with motion H.

Division of Ocean Systems Engineering (OSE).OpenFOAM cases of dynamic mesh • MRF example ▫ incompressible/MRFSimpleFoam/mixerVessel2D Static mesh in rotating coordinates • Dynamic mesh example ▫ incompressible/pimpleDyMFoam • movingCone : Defomation of mesh • mixerVesselAMI2D : • wingMotion H. Korea Advanced Institute of Science and Technology 4 . AKIMOTO.

such as surface film and bulk flow. H. Division of Ocean Systems Engineering (OSE). for coupling • simulations between separate mesh regions. e. Korea Advanced Institute of Science and Technology 5 .g. for rotating machinery • mapped patches. AKIMOTO.Arbitrary Mesh Interface (AMI) AMI is for • un-matched/non-conformal cyclic patch pairs • sliding interfaces. e.g.

cas Point is providing “two cases” H.Rotating turbine example • Prepare “Fluent case files” of rotating part and stationery part separately Inner. Korea Advanced Institute of Science and Technology 6 . AKIMOTO.cas ▫ fluentMeshToFoam –writeZone –writeSets outer. Division of Ocean Systems Engineering (OSE).cas and outer.cas • Convert the Fluent case files to OpenFOAM case directory ▫ fluentMeshToFoam –writeZone –writeSets inner.

AKIMOTO.• Merge two meshes ▫ $ mergeMesh inner outer It creates merged mesh in run/inner/1e-5 (something like that) Directory name is the "first time step" determined by controlDict • Create rotating simulation case ▫ Prepare mycase/system and mycase/constant ▫ Copy inner/1e-5/polymesh to the new case H. Korea Advanced Institute of Science and Technology 7 . Division of Ocean Systems Engineering (OSE).

AKIMOTO. Korea Advanced Institute of Science and Technology 8 .• Create cellZone data in the new case ▫ splitMeshRegions -makeCellZones –overwrite • Edit constant/polymesh/boundary and set AMI patches H. Division of Ocean Systems Engineering (OSE).

inner-AMI { type cyclicAMI. Korea Advanced Institute of Science and Technology 9 . nFaces 16. } outer-AMI { type cyclicAMI. neighbourPatch inner-AMI. } Then edit boundary condition and run the simulation H. matchTolerance 0.0001. matchTolerance 0. startFace 304. Division of Ocean Systems Engineering (OSE). transform noOrdering. AKIMOTO. neighbourPatch outer-AMI. transform noOrdering.0001. nFaces 16. startFace 320.