-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev
- Loading branch information
Showing
12 changed files
with
2,551 additions
and
0 deletions.
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
tutorials/lagrangian/icoUncoupledKinematicParcelDyMFoam/mixerVesselAMI2D/0/U
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
| ========= | | | ||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | ||
| \\ / O peration | Version: dev | | ||
| \\ / A nd | Web: www.OpenFOAM.org | | ||
| \\/ M anipulation | | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class volVectorField; | ||
object U; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 1 -1 0 0 0 0]; | ||
|
||
internalField uniform (0 0 0); | ||
|
||
boundaryField | ||
{ | ||
rotor | ||
{ | ||
type movingWallVelocity; | ||
value uniform (0 0 0); | ||
} | ||
|
||
stator | ||
{ | ||
type movingWallVelocity; | ||
value uniform (0 0 0); | ||
} | ||
|
||
front | ||
{ | ||
type empty; | ||
} | ||
|
||
back | ||
{ | ||
type empty; | ||
} | ||
|
||
AMI1 | ||
{ | ||
type cyclicAMI; | ||
value $internalField; | ||
} | ||
|
||
AMI2 | ||
{ | ||
type cyclicAMI; | ||
value $internalField; | ||
} | ||
} | ||
|
||
// ************************************************************************* // |
11 changes: 11 additions & 0 deletions
11
tutorials/lagrangian/icoUncoupledKinematicParcelDyMFoam/mixerVesselAMI2D/Allrun
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
|
||
cd ${0%/*} || exit 1 # Run from this directory | ||
|
||
. $WM_PROJECT_DIR/bin/tools/RunFunctions | ||
|
||
m4 < system/blockMeshDict.m4 > system/blockMeshDict | ||
|
||
runApplication blockMesh | ||
|
||
runApplication $(getApplication) |
48 changes: 48 additions & 0 deletions
48
...s/lagrangian/icoUncoupledKinematicParcelDyMFoam/mixerVesselAMI2D/constant/dynamicMeshDict
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
| ========= | | | ||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | ||
| \\ / O peration | Version: dev | | ||
| \\ / A nd | Web: www.OpenFOAM.org | | ||
| \\/ M anipulation | | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class dictionary; | ||
location "constant"; | ||
object dynamicMeshDict; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dynamicFvMesh dynamicMotionSolverFvMesh; | ||
|
||
solver multiSolidBodyMotionSolver; | ||
|
||
multiSolidBodyMotionSolverCoeffs | ||
{ | ||
rotor | ||
{ | ||
solidBodyMotionFunction rotatingMotion; | ||
rotatingMotionCoeffs | ||
{ | ||
origin (0 0 0); | ||
axis (0 0 1); | ||
omega 6.2832; // rad/s | ||
} | ||
} | ||
|
||
stator | ||
{ | ||
solidBodyMotionFunction rotatingMotion; | ||
rotatingMotionCoeffs | ||
{ | ||
origin (0 0 0); | ||
axis (0 0 1); | ||
omega -6.2832; // rad/s | ||
} | ||
} | ||
} | ||
|
||
|
||
// ************************************************************************* // |
23 changes: 23 additions & 0 deletions
23
tutorials/lagrangian/icoUncoupledKinematicParcelDyMFoam/mixerVesselAMI2D/constant/g
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/*--------------------------------*- C++ -*----------------------------------*\ | ||
| ========= | | | ||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | ||
| \\ / O peration | Version: dev | | ||
| \\ / A nd | Web: www.OpenFOAM.org | | ||
| \\/ M anipulation | | | ||
\*---------------------------------------------------------------------------*/ | ||
FoamFile | ||
{ | ||
version 2.0; | ||
format ascii; | ||
class uniformDimensionedVectorField; | ||
location "constant"; | ||
object g; | ||
} | ||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | ||
|
||
dimensions [0 1 -2 0 0 0 0]; | ||
|
||
value (0 -9.81 0); | ||
|
||
|
||
// ************************************************************************* // |
Oops, something went wrong.