CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

User defined dynamic mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 3, 2019, 19:34
Question User defined dynamic mesh
  #1
New Member
 
MO
Join Date: Jun 2019
Posts: 5
Rep Power: 7
czb58 is on a distinguished road
Hi all,

Recently I am doing the dynamic mesh cases. I am trying to follow the case movingCone to setup the moving part.

/opt/openfoam6/tutorials/compressible/sonicDyMFoam/movingCone
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ file: dynamicMeshDict
dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ("libfvMotionSolvers.so");
motionSolver velocityComponentLaplacian;
component x;
diffusivity directional (1 200 0);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ file: pointMotionUx
FoamFile
{
version 2.0;
format ascii;
class pointScalarField;
object pointMotionU;
}
boundaryField
{
movingWall
{
type uniformFixedValue;
uniformValue constant 160;
}

...
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~

In the file pointMotionUx, it shows the type for the movingWall is 'uniformFixedValue'. Can anyone show me how to select the type if I want to define the moving path using a function or reading the velocity profile from a file?

Thanks,
Chao




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
The following shows the type for the moving wall.

Valid patchField types are :

22
(
calculated
codedFixedValue
cyclic
cyclicACMI
cyclicAMI
cyclicRepeatAMI
cyclicSlip
empty
fixedNormalSlip
fixedValue
nonuniformTransformCyclic
processor
processorCyclic
slip
symmetry
symmetryPlane
timeVaryingMappedFixedValue
timeVaryingUniformFixedValue
uniformFixedValue
value
wedge
zeroGradient
)
czb58 is offline   Reply With Quote

Reply

Tags
dynamic mesh, openfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Mesh kennyboy FLUENT 1 February 23, 2019 02:52
Local mesh refinement definition in a DEFORMING dynamic mesh zone using Dynamic Mesh Emanuele88 FLUENT 0 February 9, 2016 12:39
Update of the variables after dynamic mesh motion. gtg258f OpenFOAM Programming & Development 9 January 18, 2014 11:08
Transient User Defined Function in CFX Niru CFX 0 November 12, 2013 18:07
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 19:10


All times are GMT -4. The time now is 17:56.