Previous: Simulation and Evaluation set Up: Simulation and Evaluation set Next: Evaluation of the torque
This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com.
Dynamic Mesh
- Let’s tune the properties of rotating motion.
- Edit constant/dynamicMeshDict and set up the rotatingMotionCoeffs.
- The listing of appropriate dynamicMeshDict follows:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 3.0.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | |*---------------------------------------------------------------------------*| | File created by CFD support s.r.o., Tue Feb 28 09:22:19 2017 | | http://www.cdfsupport.com | \*---------------------------------------------------------------------------*/ FoamFile { version 3.0; format ascii; class dictionary; location "constant"; object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dynamicFvMesh solidBodyMotionFvMesh; motionSolverLibs ( "libfvMotionSolvers.so" ); solidBodyMotionFvMeshCoeffs { cellZone rotor; solidBodyMotionFunction rotatingMotion; rotatingMotionCoeffs { origin (1.510229221 0 1.672068885); axis (0.993572 0 0.113203); omega 1.57 ; // rad/s = 1rot per 4s } } // ************************************************************************* //
- Set the origin and the axis of rotation in this file and the angular velocity omega of the rotational motion.
- Apply this rotation properties to the cellZone ‘rotor’, which was created during the mesh generation of the rotating part using topoSet utility – see section .