Integrated Foundation code to commit 104aac5

This commit is contained in:
Andrew Heather
2017-05-17 16:35:18 +01:00
590 changed files with 5963 additions and 3699 deletions

View File

@ -16,43 +16,38 @@ FoamFile
dynamicFvMesh dynamicRefineFvMesh;
// Refine every refineInterval timesteps
refineInterval 1;
dynamicRefineFvMeshCoeffs
{
// Maximum refinement level (starts from 0)
maxRefinement 2;
// Refine every refineInterval timesteps
refineInterval 1;
// Maximum cell limit (approximate)
maxCells 10000;
// Maximum refinement level (starts from 0)
maxRefinement 2;
// volScalarField to base refinement on
field normalisedGradP;
// Maximum cell limit (approximate)
maxCells 10000;
nBufferLayers 1;
// volScalarField to base refinement on
field normalisedGradP;
dumpLevel true;
nBufferLayers 1;
lowerRefineLevel 0.5;
upperRefineLevel 1.5;
dumpLevel true;
unrefineLevel 0.5;
lowerRefineLevel 0.5;
upperRefineLevel 1.5;
nBufferLayers 1;
// Newly introduced patch points optionally get projected onto a surface
//projectSurfaces ("fixedWalls4.stl");
//projectPatches (fixedWalls);
// Maximum project distance
//projectDistance 1;
unrefineLevel 0.5;
nBufferLayers 1;
// Newly introduced patch points optionally get projected onto a surface
//projectSurfaces ("fixedWalls4.stl");
//projectPatches (fixedWalls);
// Maximum project distance
//projectDistance 1;
// Fluxes to adapt. For newly created faces or split faces the flux
// gets estimated from an interpolated volVectorField ('velocity')
// First is name of the flux to adapt, second is velocity that will
// be interpolated and inner-producted with the face area vector.
correctFluxes ((phi rhoU) (phi_0 none));
}
// Fluxes to adapt. For newly created faces or split faces the flux
// gets estimated from an interpolated volVectorField ('velocity')
// First is name of the flux to adapt, second is velocity that will
// be interpolated and inner-producted with the face area vector.
correctFluxes ((phi rhoU) (phi_0 none));
// ************************************************************************* //

View File

@ -53,8 +53,8 @@ boundaryField
filmRegion filmRegion;
Tnbr T;
kappaMethod fluidThermo;
QrNbr none;
Qr Qr;
qrNbr none;
qr qr;
filmDeltaDry 0.0;
filmDeltaWet 2e-4;
value $internalField;

View File

@ -38,8 +38,8 @@ boundaryField
filmRegion filmRegion;
Tnbr T;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
qrNbr qr;
qr none;
filmDeltaDry 0.0;
filmDeltaWet 2e-4;
value uniform 298;

View File

@ -11,7 +11,7 @@ FoamFile
format ascii;
class volScalarField;
location "0";
object Qr;
object qr;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -38,7 +38,7 @@ boundaryField
sampleMode nearestPatchFace;
samplePatch region0_to_pyrolysisRegion_coupledWall;
offset (0 0 0);
field Qr; // this is the name of Qr field in region0
field qr; // this is the name of qr field in region0
setAverage no;
average 0;
value uniform 0;

View File

@ -28,9 +28,9 @@ pyrolysis
filmCoupled true;
gasHSource true;
QrHSource false;
qrHSource false;
radFluxName Qr;
radFluxName qr;
moveMesh false; // true;
minimumDelta 1e-6;

View File

@ -51,8 +51,8 @@ boundaryField
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod fluidThermo;
QrNbr none;
Qr Qr;
qrNbr none;
qr qr;
value $internalField;
}
}

View File

@ -42,8 +42,8 @@ boundaryField
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
qrNbr qr;
qr none;
value uniform 298.15;
}

View File

@ -11,7 +11,7 @@ FoamFile
format ascii;
class volScalarField;
location "0";
object Qr;
object qr;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -43,7 +43,7 @@ boundaryField
sampleMode nearestPatchFace;
samplePatch region0_to_panelRegion_fLeft_zone;
offset (0 0 0);
field Qr;
field qr;
setAverage no;
average 0;
value uniform 0;
@ -56,7 +56,7 @@ boundaryField
sampleMode nearestPatchFace;
samplePatch region0_to_panelRegion_fRight_zone;
offset (0 0 0);
field Qr;
field qr;
setAverage no;
average 0;
value uniform 0;

View File

@ -26,7 +26,7 @@ pyrolysis
reactingOneDimCoeffs
{
gasHSource false; //Energy source term due to pyrolysis gas
QrHSource false; //Energy source term due in depht radiation
qrHSource false; //Energy source term due in depht radiation
minimumDelta 1e-12;
reactionDeltaMin 1e-12;

View File

@ -25,7 +25,7 @@ pyrolysis
reactingOneDimCoeffs
{
radFluxName Qr;
radFluxName qr;
minimumDelta 1e-8;

View File

@ -25,7 +25,7 @@ pyrolysis
reactingOneDimCoeffs
{
radFluxName Qr;
radFluxName qr;
minimumDelta 1e-8;

View File

@ -1,4 +1,4 @@
/*--------------------------------*- C++ -*----------------------------------*\
/*--------------------------------*- C++ -*----------------------------------* \
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: plus |
@ -9,13 +9,36 @@ FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object dynamicMeshDict;
class volScalarField;
object G;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dynamicFvMesh staticFvMesh;
dimensions [1 0 -3 0 0 0 0];
internalField uniform 0;
boundaryField
{
".*"
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;
}
frontAndBack_pos
{
type wedge;
}
frontAndBack_neg
{
type wedge;
}
}
// ************************************************************************* //

View File

@ -11,11 +11,14 @@ FoamFile
format ascii;
class dictionary;
location "constant";
object dynamicMeshDict;
object fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dynamicFvMesh staticFvMesh;
radiation
{
type radiation;
libs ("libradiationModels.so");
}
// ************************************************************************* //

View File

@ -5,6 +5,7 @@
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
@ -15,48 +16,19 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Radiation model on/off
radiation on;
radiation on;
// Radiation model
radiationModel P1;
// Absorption coefficients model
absorptionEmissionModel greyMeanAbsorptionEmission;
P1Coeffs
{
C C [0 0 0 0 0 0 0] 0;
}
// Number of flow iterations per radiation iteration
solverFreq 1;
//
noRadiation
{
}
// P1 Model
P1Coeffs
{
}
fvDOMCoeffs
{
nPhi 2; // azimuthal angles in PI/2 on X-Y.(from Y to X)
nTheta 2; // polar angles in PI (from Z to X-Y plane)
convergence 1e-1; // convergence criteria for radiation iteration
maxIter 1; // maximum number of iterations
cacheDiv true; // cache the div of the RTE equation.
// NOTE: Caching div is "only" accurate if the upwind scheme is used in
// div(Ji,Ii_h)
}
constantAbsorptionEmissionCoeffs
{
absorptivity absorptivity [ m^-1 ] 0.01;
emissivity emissivity [ m^-1 ] 0.01;
E E [ kg m^-1 s^-3 ] 0;
}
absorptionEmissionModel greyMeanAbsorptionEmission;
greyMeanAbsorptionEmissionCoeffs
{
@ -206,5 +178,4 @@ scatterModel none;
sootModel none;
// ************************************************************************* //

View File

@ -13,6 +13,7 @@ FoamFile
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application reactingFoam;
@ -22,7 +23,7 @@ startTime 0;
stopAt endTime;
endTime 5000;
endTime 7000;
deltaT 1;

View File

@ -56,6 +56,20 @@ solvers
tolerance 1e-8;
relTol 0.1;
}
G
{
solver PCG;
preconditioner DIC;
tolerance 1e-5;
relTol 0.1;
}
GFinal
{
$G;
relTol 0;
}
}
PIMPLE

View File

@ -17,15 +17,12 @@ FoamFile
dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ( "libfvMotionSolvers.so" );
motionSolverLibs ("libfvMotionSolvers.so");
solver velocityComponentLaplacian;
motionSolver velocityComponentLaplacian;
velocityComponentLaplacianCoeffs
{
component x;
diffusivity directional (1 200 0);
}
component x;
diffusivity directional (1 200 0);
// ************************************************************************* //

View File

@ -19,19 +19,14 @@ FoamFile
dynamicFvMesh dynamicMotionSolverFvMesh;
solver solidBody;
motionSolver solidBody;
solidBodyCoeffs
{
cellZone rotatingZone;
cellZone rotatingZone;
solidBodyMotionFunction rotatingMotion;
rotatingMotionCoeffs
{
origin (0 0 0);
axis (0 0 1);
omega $:meshMotionProperties.omega;
}
}
solidBodyMotionFunction rotatingMotion;
origin (0 0 0);
axis (0 0 1);
omega $:meshMotionProperties.omega;
// ************************************************************************* //

View File

@ -18,7 +18,6 @@ FoamFile
porosity1
{
type explicitPorositySource;
active yes;
explicitPorositySourceCoeffs
{
@ -27,21 +26,18 @@ porosity1
type DarcyForchheimer;
DarcyForchheimerCoeffs
{
d (7e5 -1000 -1000);
f (0 0 0);
d (7e5 -1000 -1000);
f (0 0 0);
coordinateSystem
coordinateSystem
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (0.70710678 0.70710678 0);
e3 (0 0 1);
}
type axesRotation;
e1 (0.70710678 0.70710678 0);
e3 (0 0 1);
}
}
}

View File

@ -18,7 +18,6 @@ FoamFile
porosity1
{
type explicitPorositySource;
active yes;
explicitPorositySourceCoeffs
{
@ -27,21 +26,18 @@ porosity1
type DarcyForchheimer;
DarcyForchheimerCoeffs
{
d (5e7 -1000 -1000);
f (0 0 0);
d (5e7 -1000 -1000);
f (0 0 0);
coordinateSystem
coordinateSystem
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
}
type axesRotation;
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
}
}
}

View File

@ -18,7 +18,6 @@ FoamFile
porosity1
{
type explicitPorositySource;
active yes;
explicitPorositySourceCoeffs
{
@ -27,21 +26,18 @@ porosity1
type DarcyForchheimer;
DarcyForchheimerCoeffs
{
d (1e5 -1000 -1000);
f (0 0 0);
d (1e5 -1000 -1000);
f (0 0 0);
coordinateSystem
coordinateSystem
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (1 0 0);
e2 (0 1 0);
}
type axesRotation;
e1 (1 0 0);
e2 (0 1 0);
}
}
}

View File

@ -18,16 +18,12 @@ FoamFile
source1
{
type fixedTemperatureConstraint;
active yes;
fixedTemperatureConstraintCoeffs
{
selectionMode cellZone;
cellZone porosity;
selectionMode cellZone;
cellZone porosity;
mode uniform;
temperature 350;
}
mode uniform;
temperature 350;
}

View File

@ -18,24 +18,21 @@ FoamFile
porosity1
{
type DarcyForchheimer;
active yes;
cellZone porosity;
DarcyForchheimerCoeffs
{
d (5e7 -1000 -1000);
f (0 0 0);
d (5e7 -1000 -1000);
f (0 0 0);
coordinateSystem
coordinateSystem
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
}
type axesRotation;
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
}
}
}

View File

@ -18,7 +18,6 @@ FoamFile
porosity
{
type explicitPorositySource;
active yes;
explicitPorositySourceCoeffs
{
@ -53,32 +52,24 @@ porosity
fixedTemperature
{
type fixedTemperatureConstraint;
active yes;
fixedTemperatureConstraintCoeffs
{
selectionMode cellZone;
cellZone porosity;
mode uniform;
temperature 350;
}
selectionMode cellZone;
cellZone porosity;
mode uniform;
temperature 350;
}
porosityTurbulence
{
type scalarFixedValueConstraint;
active yes;
scalarFixedValueConstraintCoeffs
selectionMode cellZone;
cellZone porosity;
fieldValues
{
selectionMode cellZone;
cellZone porosity;
fieldValues
{
k 1;
epsilon 150;
}
k 1;
epsilon 150;
}
}

View File

@ -17,15 +17,12 @@ FoamFile
dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ( "libfvMotionSolvers.so" );
motionSolverLibs ("libfvMotionSolvers.so");
solver velocityComponentLaplacian;
motionSolver velocityComponentLaplacian;
velocityComponentLaplacianCoeffs
{
component x;
diffusivity directional (1 200 0);
}
component x;
diffusivity directional (1 200 0);
// ************************************************************************* //

View File

@ -18,24 +18,19 @@ FoamFile
airToporous
{
type constantHeatTransfer;
active yes;
constantHeatTransferCoeffs
{
interpolationMethod cellVolumeWeight;
nbrRegion porous;
master false;
interpolationMethod cellVolumeWeight;
nbrRegion porous;
master false;
nbrModel porousToair;
fields (h);
semiImplicit no;
}
nbrModel porousToair;
fields (h);
semiImplicit no;
}
porosityBlockage
{
type interRegionExplicitPorositySource;
active yes;
interRegionExplicitPorositySourceCoeffs
{
@ -44,21 +39,18 @@ porosityBlockage
type DarcyForchheimer;
DarcyForchheimerCoeffs
{
d (-1000 -1000 1e4);
f (0 0 0);
d (-1000 -1000 1e4);
f (0 0 0);
coordinateSystem
coordinateSystem
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (0 1 0);
e2 (0 0 1);
}
type axesRotation;
e1 (0 1 0);
e2 (0 0 1);
}
}
}

View File

@ -18,18 +18,14 @@ FoamFile
porousToair
{
type constantHeatTransfer;
active yes;
constantHeatTransferCoeffs
{
interpolationMethod cellVolumeWeight;
nbrRegion air;
master true;
interpolationMethod cellVolumeWeight;
nbrRegion air;
master true;
nbrModel airToporous;
fields (h);
semiImplicit no;
}
nbrModel airToporous;
fields (h);
semiImplicit no;
}

View File

@ -10,7 +10,7 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
object Qr;
object qr;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -11,7 +11,7 @@ runApplication splitMeshRegions -cellZones -overwrite
# remove fluid fields from solid regions (important for post-processing)
for i in heater leftSolid rightSolid
do
rm -f 0*/$i/{rho,nut,alphat,epsilon,k,U,p_rgh,Qr,G,IDefault}
rm -f 0*/$i/{rho,nut,alphat,epsilon,k,U,p_rgh,qr,G,IDefault}
done
for i in bottomAir topAir heater leftSolid rightSolid

View File

@ -60,8 +60,8 @@ T
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod fluidThermo;
QrNbr none;
Qr Qr;
qrNbr none;
qr qr;
value uniform 300;
}
}
@ -119,7 +119,7 @@ p
}
}
Qr
qr
{
internalField uniform 0;
boundaryField
@ -128,7 +128,7 @@ Qr
{
type greyDiffusiveRadiationViewFactor;
emissivityMode lookup;
Qro uniform 0;
qro uniform 0;
emissivity uniform 1.0;
value uniform 0;
}
@ -137,7 +137,7 @@ Qr
{
type greyDiffusiveRadiationViewFactor;
emissivityMode solidRadiation;
Qro uniform 0;
qro uniform 0;
value uniform 0;
}
}

View File

@ -74,7 +74,7 @@ relaxationFactors
"(k|epsilon|omega)" 0.7;
G 0.7;
"ILambda.*" 0.7;
Qr 0.7;
qr 0.7;
}
}

View File

@ -47,8 +47,8 @@ T
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
qrNbr qr;
qr none;
value uniform 300;
}
@ -57,8 +57,8 @@ T
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
qrNbr qr;
qr none;
value uniform 300;
}

View File

@ -43,8 +43,8 @@ T
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
qrNbr qr;
qr none;
value uniform 300;
}
@ -53,8 +53,8 @@ T
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
qrNbr qr;
qr none;
value uniform 300;
}

View File

@ -43,8 +43,8 @@ T
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
qrNbr qr;
qr none;
value uniform 300;
}
@ -53,8 +53,8 @@ T
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
qrNbr qr;
qr none;
value uniform 300;
}

View File

@ -73,8 +73,8 @@ T
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod fluidThermo;
QrNbr none;
Qr Qr;
qrNbr none;
qr qr;
value uniform 300;
}
}
@ -168,7 +168,7 @@ p
}
}
Qr
qr
{
internalField uniform 0;
boundaryField
@ -177,7 +177,7 @@ Qr
{
type greyDiffusiveRadiationViewFactor;
emissivityMode lookup;
Qro uniform 0;
qro uniform 0;
emissivity uniform 1.0;
value uniform 0;
}
@ -186,7 +186,7 @@ Qr
{
type greyDiffusiveRadiationViewFactor;
emissivityMode solidRadiation;
Qro uniform 0;
qro uniform 0;
value uniform 0;
}
}

View File

@ -74,7 +74,7 @@ relaxationFactors
"(k|epsilon|omega)" 0.7;
G 0.7;
"ILambda.*" 0.7;
Qr 0.7;
qr 0.7;
}
}

View File

@ -17,19 +17,14 @@ FoamFile
dynamicFvMesh dynamicMotionSolverFvMesh;
solver solidBody;
motionSolver solidBody;
solidBodyCoeffs
{
cellZone rotor;
cellZone rotor;
solidBodyMotionFunction rotatingMotion;
rotatingMotionCoeffs
{
origin (0 0 0);
axis (0 0 1);
omega 6.2832; // rad/s
}
}
solidBodyMotionFunction rotatingMotion;
origin (0 0 0);
axis (0 0 1);
omega 6.2832; // rad/s
// ************************************************************************* //

View File

@ -17,15 +17,12 @@ FoamFile
dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ( "libfvMotionSolvers.so" );
motionSolverLibs ("libfvMotionSolvers.so");
solver velocityComponentLaplacian;
motionSolver velocityComponentLaplacian;
velocityComponentLaplacianCoeffs
{
component x;
diffusivity directional (1 200 0);
}
component x;
diffusivity directional (1 200 0);
// ************************************************************************* //

View File

@ -17,22 +17,16 @@ FoamFile
dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ( "libfvMotionSolvers.so" );
motionSolverLibs ("libfvMotionSolvers.so");
solver solidBody;
motionSolver solidBody;
solidBodyCoeffs
{
cellZone inletChannel;
cellZone inletChannel;
solidBodyMotionFunction oscillatingLinearMotion;
solidBodyMotionFunction oscillatingLinearMotion;
oscillatingLinearMotionCoeffs
{
amplitude (0 0.5 0);
omega 3.14; // rad/s (.5 rps)
}
}
amplitude (0 0.5 0);
omega 3.14; // rad/s (.5 rps)
// ************************************************************************* //

View File

@ -17,22 +17,16 @@ FoamFile
dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ( "libfvMotionSolvers.so" );
motionSolverLibs ("libfvMotionSolvers.so");
solver solidBody;
motionSolver solidBody;
solidBodyCoeffs
{
cellZone innerCylinderSmall;
cellZone innerCylinderSmall;
solidBodyMotionFunction rotatingMotion;
rotatingMotionCoeffs
{
origin (0 0 0);
axis (0 1 0);
omega 158; // rad/s
}
}
solidBodyMotionFunction rotatingMotion;
origin (0 0 0);
axis (0 1 0);
omega 158; // rad/s
// ************************************************************************* //

View File

@ -18,72 +18,69 @@ dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ("libsixDoFRigidBodyMotion.so");
solver sixDoFRigidBodyMotion;
motionSolver sixDoFRigidBodyMotion;
sixDoFRigidBodyMotionCoeffs
patches (wing);
innerDistance 0.3;
outerDistance 1;
mass 22.9;
centreOfMass (0.4974612746 -0.01671895744 0.125);
momentOfInertia (1.958864357 3.920839234 2.057121362);
orientation
(
0.9953705935 0.09611129781 0
-0.09611129781 0.9953705935 0
0 0 1
);
angularMomentum (0 0 -2);
g (0 -9.81 0);
rho rhoInf;
rhoInf 1;
report on;
solver
{
patches (wing);
innerDistance 0.3;
outerDistance 1;
type symplectic;
}
mass 22.9;
centreOfMass (0.4974612746 -0.01671895744 0.125);
momentOfInertia (1.958864357 3.920839234 2.057121362);
orientation
(
0.9953705935 0.09611129781 0
-0.09611129781 0.9953705935 0
0 0 1
);
angularMomentum (0 0 -2);
g (0 -9.81 0);
rho rhoInf;
rhoInf 1;
report on;
solver
constraints
{
yLine
{
type symplectic;
sixDoFRigidBodyMotionConstraint line;
centreOfRotation (0.25 0.007 0.125);
direction (0 1 0);
}
constraints
zAxis
{
yLine
{
sixDoFRigidBodyMotionConstraint line;
centreOfRotation (0.25 0.007 0.125);
direction (0 1 0);
}
sixDoFRigidBodyMotionConstraint axis;
axis (0 0 1);
}
}
zAxis
{
sixDoFRigidBodyMotionConstraint axis;
axis (0 0 1);
}
restraints
{
verticalSpring
{
sixDoFRigidBodyMotionRestraint linearSpring;
anchor (0.25 0.007 0.125);
refAttachmentPt (0.25 0.007 0.125);
stiffness 4000;
damping 2;
restLength 0;
}
restraints
axialSpring
{
verticalSpring
{
sixDoFRigidBodyMotionRestraint linearSpring;
sixDoFRigidBodyMotionRestraint linearAxialAngularSpring;
anchor (0.25 0.007 0.125);
refAttachmentPt (0.25 0.007 0.125);
stiffness 4000;
damping 2;
restLength 0;
}
axialSpring
{
sixDoFRigidBodyMotionRestraint linearAxialAngularSpring;
axis (0 0 1);
stiffness 700;
damping 0.5;
referenceOrientation $orientation;
}
axis (0 0 1);
stiffness 700;
damping 0.5;
referenceOrientation $orientation;
}
}

View File

@ -18,15 +18,11 @@ FoamFile
momentumSource
{
type meanVelocityForce;
active yes;
meanVelocityForceCoeffs
{
selectionMode all;
selectionMode all;
fields (U);
Ubar (0.1335 0 0);
}
fields (U);
Ubar (0.1335 0 0);
}

View File

@ -18,19 +18,15 @@ FoamFile
momentumSource
{
type vectorSemiImplicitSource;
active yes;
vectorSemiImplicitSourceCoeffs
timeStart 0.0;
duration 1000;
selectionMode all;
volumeMode specific;
injectionRateSuSp
{
timeStart 0.0;
duration 1000;
selectionMode all;
volumeMode specific;
injectionRateSuSp
{
U ((5 0 0) 0);
}
U ((5 0 0) 0);
}
}

View File

@ -50,13 +50,7 @@ IOdictionary fvOptions
)
);
const dictionary& gradPDict =
fvOptions.subDict("momentumSource").subDict
(
"vectorSemiImplicitSourceCoeffs"
).subDict
(
"injectionRateSuSp"
);
fvOptions.subDict("momentumSource").subDict("injectionRateSuSp");
const scalar K =
Tuple2<vector, scalar>(gradPDict.lookup("U")).first().x();

View File

@ -59,8 +59,7 @@ functions
lifeTime 10000;
nSubCycle 5;
cloud particleTracks;
seedSampleSet uniform;
uniformCoeffs
seedSampleSet
{
type uniform;
axis x;

View File

@ -35,9 +35,7 @@ streamLines
cloud particleTracks;
// Seeding method.
seedSampleSet uniform; //cloud; //triSurfaceMeshPointSet;
uniformCoeffs
seedSampleSet
{
type uniform;
axis x; //distance;

View File

@ -18,7 +18,6 @@ FoamFile
porosity1
{
type explicitPorositySource;
active yes;
explicitPorositySourceCoeffs
{
@ -32,21 +31,18 @@ porosity1
// D 500; // Slight waviness in the far wake
D 1000; // Fully shedding behavior
DarcyForchheimerCoeffs
{
d ($D $D $D);
f (0 0 0);
d ($D $D $D);
f (0 0 0);
coordinateSystem
coordinateSystem
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (1 0 0);
e2 (0 1 0);
}
type axesRotation;
e1 (1 0 0);
e2 (0 1 0);
}
}
}

View File

@ -18,24 +18,21 @@ FoamFile
porosity1
{
type DarcyForchheimer;
active yes;
cellZone porosity;
DarcyForchheimerCoeffs
{
d (5e7 -1000 -1000);
f (0 0 0);
d (5e7 -1000 -1000);
f (0 0 0);
coordinateSystem
coordinateSystem
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
}
type axesRotation;
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
}
}
}

View File

@ -18,24 +18,21 @@ FoamFile
porosity1
{
type DarcyForchheimer;
active yes;
cellZone porosity;
DarcyForchheimerCoeffs
{
d (5e7 -1000 -1000);
f (0 0 0);
d (5e7 -1000 -1000);
f (0 0 0);
coordinateSystem
coordinateSystem
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (1 0 0); //(0.70710678 0.70710678 0);
e2 (0 0 1);
}
type axesRotation;
e1 (1 0 0); //(0.70710678 0.70710678 0);
e2 (0 0 1);
}
}
}

View File

@ -42,9 +42,7 @@ streamLines
cloud particleTracks;
// Seeding method.
seedSampleSet uniform; //cloud; //triSurfaceMeshPointSet;
uniformCoeffs
seedSampleSet
{
type uniform;
axis x; //distance;

View File

@ -68,29 +68,31 @@ wallBoundedStreamLines
cloud wallBoundedParticleTracks;
// Seeding method.
seedSampleSet patchSeed; //cloud; //triSurfaceMeshPointSet;
uniformCoeffs
{
type uniform;
axis x; //distance;
start (0.0035 0.0999 0.0001);
end (0.0035 0.0999 0.0099);
nPoints 20;
}
cloudCoeffs
{
type cloud;
axis x; //distance;
points ((0.351516548679288 -0.0116085375585099 1.24));
}
patchSeedCoeffs
seedSampleSet
{
type patchSeed;
patches (motorBikeGroup);
axis x; //distance;
maxPoints 20000;
uniformCoeffs
{
axis x; //distance;
start (0.0035 0.0999 0.0001);
end (0.0035 0.0999 0.0099);
nPoints 20;
}
cloudCoeffs
{
axis x; //distance;
points ((0.351516548679288 -0.0116085375585099 1.24));
}
patchSeedCoeffs
{
patches (motorBikeGroup);
axis x; //distance;
maxPoints 20000;
}
}
}

View File

@ -76,13 +76,11 @@ functions
cloud particleTracks;
// Seeding method.
seedSampleSet uniform; //cloud; //triSurfaceMeshPointSet;
uniformCoeffs
seedSampleSet
{
type uniform;
axis x; //distance;
axis x; //distance;
start (-0.0205 0.001 0.00001);
end (-0.0205 0.0251 0.00001);
nPoints 10;

View File

@ -17,89 +17,85 @@ FoamFile
disk
{
type rotorDisk;
active on;
rotorDiskCoeffs
selectionMode cellZone;
cellZone rotatingZone;
fields (U); // Names of fields on which to apply source
nBlades 3; // Number of blades
tipEffect 0.96; // Normalised radius above which lift = 0
inletFlowType local; // Inlet flow type specification
inletVelocity (0 1 0);
geometryMode specified;
origin (0 0 0);
axis (0 1 0);
refDirection (0 0 1); // Reference direction
// - used as reference for psi angle
rpm 1000;
//pointAbove (0 0 0.25);
trimModel fixedTrim; // fixed || targetForce
rhoRef 1000;
rhoInf 1;
fixedTrimCoeffs
{
selectionMode cellZone;
cellZone rotatingZone;
theta0 0;
theta1c 0;
theta1s 0;
}
fields (U); // Names of fields on which to apply source
nBlades 3; // Number of blades
tipEffect 0.96; // Normalised radius above which lift = 0
flapCoeffs
{
beta0 0; // Coning angle [deg]
beta1c 0; // Lateral flapping coeff (cos coeff)
beta2s 0; // Longitudinal flapping coeff (sin coeff)
}
inletFlowType local; // Inlet flow type specification
inletVelocity (0 1 0);
blade
{
data
(
(profile1 (0.1 -6 0.02))
(profile1 (0.25 -6 0.02))
);
}
geometryMode specified;
origin (0 0 0);
axis (0 1 0);
refDirection (0 0 1); // Reference direction
// - used as reference for psi angle
rpm 1000;
//pointAbove (0 0 0.25);
trimModel fixedTrim; // fixed || targetForce
rhoRef 1000;
rhoInf 1;
fixedTrimCoeffs
{
theta0 0;
theta1c 0;
theta1s 0;
}
flapCoeffs
{
beta0 0; // Coning angle [deg]
beta1c 0; // Lateral flapping coeff (cos coeff)
beta2s 0; // Longitudinal flapping coeff (sin coeff)
}
blade
profiles
{
profile1
{
type lookup;
data
(
(profile1 (0.1 -6 0.02))
(profile1 (0.25 -6 0.02))
(-90 0.21 1.45)
(-18 0.21 1.45)
(-16 0.165 1.3)
(-14 0.125 1.1)
(-12 0.092 0.95)
(-10 0.07 0.8)
(-8 0.05 0.64)
(-6 0.04 0.5)
(-4 0.028 0.32)
(-2 0.022 0.18)
(0 0.02 0)
(2 0.022 0.18)
(4 0.028 0.32)
(6 0.04 0.5)
(8 0.05 0.64)
(10 0.07 0.8)
(12 0.092 0.95)
(14 0.125 1.1)
(16 0.165 1.3)
(18 0.21 1.45)
(90 0.21 1.45)
);
}
profiles
{
profile1
{
type lookup;
data
(
(-90 0.21 1.45)
(-18 0.21 1.45)
(-16 0.165 1.3)
(-14 0.125 1.1)
(-12 0.092 0.95)
(-10 0.07 0.8)
(-8 0.05 0.64)
(-6 0.04 0.5)
(-4 0.028 0.32)
(-2 0.022 0.18)
(0 0.02 0)
(2 0.022 0.18)
(4 0.028 0.32)
(6 0.04 0.5)
(8 0.05 0.64)
(10 0.07 0.8)
(12 0.092 0.95)
(14 0.125 1.1)
(16 0.165 1.3)
(18 0.21 1.45)
(90 0.21 1.45)
);
}
}
}
}

View File

@ -18,39 +18,31 @@ FoamFile
disk1
{
type actuationDiskSource;
active on;
actuationDiskSourceCoeffs
{
fields (U);
fields (U);
selectionMode cellSet;
cellSet actuationDisk1;
diskDir (1 0 0); // Orientation of the disk
Cp 0.386;
Ct 0.58;
diskArea 40;
upstreamPoint (581849 4785810 1065);
}
selectionMode cellSet;
cellSet actuationDisk1;
diskDir (1 0 0); // Orientation of the disk
Cp 0.386;
Ct 0.58;
diskArea 40;
upstreamPoint (581849 4785810 1065);
}
disk2
{
type actuationDiskSource;
active on;
actuationDiskSourceCoeffs
{
fields (U);
fields (U);
selectionMode cellSet;
cellSet actuationDisk2;
diskDir (1 0 0); // Orientation of the disk
Cp 0.53;
Ct 0.58;
diskArea 40;
upstreamPoint (581753 4785663 1070);
}
selectionMode cellSet;
cellSet actuationDisk2;
diskDir (1 0 0); // Orientation of the disk
Cp 0.53;
Ct 0.58;
diskArea 40;
upstreamPoint (581753 4785663 1070);
}

View File

@ -18,18 +18,14 @@ FoamFile
source1
{
type fixedTemperatureConstraint;
active yes;
fixedTemperatureConstraintCoeffs
{
timeStart 0.1;
duration 0.4;
selectionMode cellSet;
cellSet ignitionCells;
timeStart 0.1;
duration 0.4;
selectionMode cellSet;
cellSet ignitionCells;
mode uniform;
temperature 2000;
}
mode uniform;
temperature 2000;
}

View File

@ -18,7 +18,6 @@ FoamFile
filter1
{
type explicitPorositySource;
active yes;
explicitPorositySourceCoeffs
{
@ -27,21 +26,18 @@ filter1
type DarcyForchheimer;
DarcyForchheimerCoeffs
{
d (500000 -1000 -1000);
f (0 0 0);
d (500000 -1000 -1000);
f (0 0 0);
coordinateSystem
coordinateSystem
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (1 0 0);
e2 (0 1 0);
}
type axesRotation;
e1 (1 0 0);
e2 (0 1 0);
}
}
}
@ -51,24 +47,20 @@ filter1
massSource1
{
type scalarSemiImplicitSource;
active yes;
scalarSemiImplicitSourceCoeffs
timeStart 0.2;
duration 2.0;
selectionMode points;
points
(
(2.75 0.5 0)
);
volumeMode absolute;
injectionRateSuSp
{
timeStart 0.2;
duration 2.0;
selectionMode points;
points
(
(2.75 0.5 0)
);
volumeMode absolute;
injectionRateSuSp
{
rho (1e-4 0); // kg/s
H2O (1e-4 0); // kg/s
}
rho (1e-4 0); // kg/s
H2O (1e-4 0); // kg/s
}
}
@ -76,23 +68,19 @@ massSource1
momentumSource1
{
type vectorSemiImplicitSource;
active yes;
vectorSemiImplicitSourceCoeffs
timeStart 0.2;
duration 2.0;
selectionMode points;
points
(
(2.75 0.5 0)
);
volumeMode absolute;
injectionRateSuSp
{
timeStart 0.2;
duration 2.0;
selectionMode points;
points
(
(2.75 0.5 0)
);
volumeMode absolute;
injectionRateSuSp
{
U ((0 0.005 0) 0);
}
U ((0 0.005 0) 0);
}
}
@ -100,23 +88,19 @@ momentumSource1
energySource1
{
type scalarSemiImplicitSource;
active yes;
scalarSemiImplicitSourceCoeffs
timeStart 0.2;
duration 2.0;
selectionMode points;
points
(
(2.75 0.5 0)
);
volumeMode absolute;
injectionRateSuSp
{
timeStart 0.2;
duration 2.0;
selectionMode points;
points
(
(2.75 0.5 0)
);
volumeMode absolute;
injectionRateSuSp
{
h (10 0);
}
h (10 0);
}
}

View File

@ -17,22 +17,17 @@ FoamFile
dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ( "libfvMotionSolvers.so" );
motionSolverLibs ("libfvMotionSolvers.so");
solver solidBody;
motionSolver solidBody;
solidBodyCoeffs
{
cellZone rotating;
cellZone rotating;
solidBodyMotionFunction rotatingMotion;
rotatingMotionCoeffs
{
origin (0 0 0);
axis (0 0 1);
omega -5; // 5 rad/s
}
}
solidBodyMotionFunction rotatingMotion;
origin (0 0 0);
axis (0 0 1);
omega -5; // 5 rad/s
// ************************************************************************* //

View File

@ -20,17 +20,17 @@ phases (phase1 phase2);
phase1
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 300;
nu 1e-06;
rho 300;
}
phase2
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-6;
rho [1 -3 0 0 0 0 0] 1027;
nu 1e-6;
rho 1027;
}
sigma [1 0 -2 0 0 0 0] 0.07;
sigma 0.07;
// ************************************************************************* //

View File

@ -20,16 +20,13 @@ dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ("libfvMotionSolvers.so");
solver displacementSBRStress; //displacementLaplacian;
//solver velocityComponentLaplacian z;
motionSolver displacementSBRStress; //displacementLaplacian;
//motionSolver velocityComponentLaplacian z;
displacementSBRStressCoeffs
{
// diffusivity uniform;
// diffusivity directional (1 200 0);
// diffusivity motionDirectional (1 1000 0);
// diffusivity file motionDiffusivity;
diffusivity quadratic inverseDistance 1(minZ);
}
// diffusivity uniform;
// diffusivity directional (1 200 0);
// diffusivity motionDirectional (1 1000 0);
// diffusivity file motionDiffusivity;
diffusivity quadratic inverseDistance 1(minZ);
// ************************************************************************* //

View File

@ -17,26 +17,21 @@ FoamFile
dynamicFvMesh dynamicMotionSolverFvMesh;
solver solidBody;
motionSolver solidBody;
solidBodyCoeffs
{
solidBodyMotionFunction SDA;
SDACoeffs
{
CofG (0 0 0);
lamda 50;
rollAmax 0.22654;
rollAmin 0.10472;
heaveA 3.79;
swayA 2.34;
Q 2;
Tp 13.93;
Tpn 11.93;
dTi 0.059;
dTp -0.001;
}
}
solidBodyMotionFunction SDA;
CofG (0 0 0);
lamda 50;
rollAmax 0.22654;
rollAmin 0.10472;
heaveA 3.79;
swayA 2.34;
Q 2;
Tp 13.93;
Tpn 11.93;
dTi 0.059;
dTp -0.001;
// ************************************************************************* //

View File

@ -17,8 +17,8 @@ FoamFile
phases (water air);
pMin [1 -1 -2 0 0 0 0] 1000;
pMin 1000;
sigma [1 0 -2 0 0 0 0] 0;
sigma 0;
// ************************************************************************* //

View File

@ -20,18 +20,18 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 998.2;
nu 1e-06;
rho 998.2;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
nu 1.48e-05;
rho 1;
}
sigma [1 0 -2 0 0 0 0] 0;
sigma 0;
// ************************************************************************* //

View File

@ -17,8 +17,12 @@ FoamFile
phases (water air);
pMin [1 -1 -2 0 0 0 0] 10000;
pMin 10000;
sigma [1 0 -2 0 0 0 0] 0.07;
sigma
{
type liquidProperties;
phase water;
}
// ************************************************************************* //

View File

@ -17,8 +17,8 @@ FoamFile
phases (water air);
pMin [1 -1 -2 0 0 0 0] 10000;
pMin 10000;
sigma [1 0 -2 0 0 0 0] 0.07;
sigma 0.07;
// ************************************************************************* //

View File

@ -17,16 +17,16 @@ FoamFile
phases (water oil mercury air);
pMin [1 -1 -2 0 0 0 0] 10000;
pMin 10000;
sigmas
(
(air water) 0.07
(air oil) 0.07
(air mercury) 0.07
(water oil) 0.07
(air water) 0.07
(air oil) 0.07
(air mercury) 0.07
(water oil) 0.07
(water mercury) 0.07
(oil mercury) 0.07
(oil mercury) 0.07
);

View File

@ -14,70 +14,67 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dynamicFvMesh dynamicMotionSolverFvMesh;
dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ("librigidBodyMeshMotion.so");
solver rigidBodyMotion;
motionSolver rigidBodyMotion;
rigidBodyMotionCoeffs
report on;
solver
{
report on;
type Newmark;
}
solver
accelerationRelaxation 0.4;
bodies
{
hull
{
type Newmark;
type rigidBody;
parent root;
centreOfMass (0 0 0);
mass 412.73;
inertia (40 0 0 921 0 921);
transform (1 0 0 0 1 0 0 0 1) (2.929541 0 0.2);
joint
{
type composite;
joints
(
{
type Pz;
}
{
type Ry;
}
);
}
patches (hull);
innerDistance 0.3;
outerDistance 1;
}
}
restraints
{
translationDamper
{
type linearDamper;
body hull;
coeff 8596;
}
accelerationRelaxation 0.4;
bodies
rotationDamper
{
hull
{
type rigidBody;
parent root;
centreOfMass (0 0 0);
mass 412.73;
inertia (40 0 0 921 0 921);
transform (1 0 0 0 1 0 0 0 1) (2.929541 0 0.2);
joint
{
type composite;
joints
(
{
type Pz;
}
{
type Ry;
}
);
}
patches (hull);
innerDistance 0.3;
outerDistance 1;
}
}
restraints
{
translationDamper
{
type linearDamper;
body hull;
coeff 8596;
}
rotationDamper
{
type sphericalAngularDamper;
body hull;
coeff 11586;
}
type sphericalAngularDamper;
body hull;
coeff 11586;
}
}

View File

@ -14,59 +14,56 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dynamicFvMesh dynamicMotionSolverFvMesh;
dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ("libsixDoFRigidBodyMotion.so");
solver sixDoFRigidBodyMotion;
motionSolver sixDoFRigidBodyMotion;
sixDoFRigidBodyMotionCoeffs
patches (hull);
innerDistance 0.3;
outerDistance 1;
centreOfMass (2.929541 0 0.2);
mass 412.73;
momentOfInertia (40 921 921);
rhoInf 1;
report on;
value uniform (0 0 0);
accelerationRelaxation 0.4;
solver
{
patches (hull);
innerDistance 0.3;
outerDistance 1;
type Newmark;
}
centreOfMass (2.929541 0 0.2);
mass 412.73;
momentOfInertia (40 921 921);
rhoInf 1;
report on;
value uniform (0 0 0);
accelerationRelaxation 0.4;
solver
constraints
{
zAxis
{
type Newmark;
sixDoFRigidBodyMotionConstraint line;
direction (0 0 1);
}
constraints
yPlane
{
zAxis
{
sixDoFRigidBodyMotionConstraint line;
direction (0 0 1);
}
yPlane
{
sixDoFRigidBodyMotionConstraint axis;
axis (0 1 0);
}
sixDoFRigidBodyMotionConstraint axis;
axis (0 1 0);
}
}
restraints
restraints
{
translationDamper
{
translationDamper
{
sixDoFRigidBodyMotionRestraint linearDamper;
coeff 8596;
}
rotationDamper
{
sixDoFRigidBodyMotionRestraint sphericalAngularDamper;
coeff 11586;
}
sixDoFRigidBodyMotionRestraint linearDamper;
coeff 8596;
}
rotationDamper
{
sixDoFRigidBodyMotionRestraint sphericalAngularDamper;
coeff 11586;
}
}

View File

@ -20,17 +20,17 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.09e-06;
rho [1 -3 0 0 0 0 0] 998.8;
nu 1.09e-06;
rho 998.8;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
nu 1.48e-05;
rho 1;
}
sigma [1 0 -2 0 0 0 0] 0;
sigma 0;
// ************************************************************************* //

View File

@ -18,7 +18,7 @@ dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ("librigidBodyMeshMotion.so");
solver rigidBodyMotion;
motionSolver rigidBodyMotion;
rigidBodyMotionCoeffs
{

View File

@ -18,7 +18,7 @@ dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ("libsixDoFRigidBodyMotion.so");
solver sixDoFRigidBodyMotion;
motionSolver sixDoFRigidBodyMotion;
sixDoFRigidBodyMotionCoeffs
{

View File

@ -20,18 +20,18 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 998.2;
nu 1e-06;
rho 998.2;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
nu 1.48e-05;
rho 1;
}
sigma [1 0 -2 0 0 0 0] 0;
sigma 0;
// ************************************************************************* //

View File

@ -19,20 +19,15 @@ dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ( "libfvMotionSolvers.so" );
solver solidBody;
motionSolver solidBody;
solidBodyCoeffs
{
cellZone rotating;
cellZone rotating;
solidBodyMotionFunction rotatingMotion;
rotatingMotionCoeffs
{
origin (0 0 0);
axis (0 0 1);
omega -5; // 5 rad/s
}
}
solidBodyMotionFunction rotatingMotion;
origin (0 0 0);
axis (0 0 1);
omega -5; // 5 rad/s
// ************************************************************************* //

View File

@ -20,17 +20,17 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 300;
nu 1e-06;
rho 300;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-6;
rho [1 -3 0 0 0 0 0] 1027;
nu 1e-6;
rho 1027;
}
sigma [1 0 -2 0 0 0 0] 0.07;
sigma 0.07;
// ************************************************************************* //

View File

@ -17,45 +17,42 @@ FoamFile
dynamicFvMesh dynamicRefineFvMesh;
dynamicRefineFvMeshCoeffs
{
// How often to refine
refineInterval 1;
// How often to refine
refineInterval 1;
// Field to be refinement on
field alpha.water;
// Field to be refinement on
field alpha.water;
// Refine field inbetween lower..upper
lowerRefineLevel 0.001;
upperRefineLevel 0.999;
// Refine field inbetween lower..upper
lowerRefineLevel 0.001;
upperRefineLevel 0.999;
// If value < unrefineLevel unrefine
unrefineLevel 10;
// If value < unrefineLevel unrefine
unrefineLevel 10;
// Have slower than 2:1 refinement
nBufferLayers 1;
// Have slower than 2:1 refinement
nBufferLayers 1;
// Refine cells only up to maxRefinement levels
maxRefinement 2;
// Refine cells only up to maxRefinement levels
maxRefinement 2;
// Stop refinement if maxCells reached
maxCells 200000;
// Stop refinement if maxCells reached
maxCells 200000;
// Flux field and corresponding velocity field. Fluxes on changed
// faces get recalculated by interpolating the velocity. Use 'none'
// on surfaceScalarFields that do not need to be reinterpolated.
correctFluxes
(
(phi none)
(nHatf none)
(rhoPhi none)
(alphaPhi none)
(ghf none)
);
// Flux field and corresponding velocity field. Fluxes on changed
// faces get recalculated by interpolating the velocity. Use 'none'
// on surfaceScalarFields that do not need to be reinterpolated.
correctFluxes
(
(phi none)
(nHatf none)
(rhoPhi none)
(alphaPhi none)
(ghf none)
);
// Write the refinement level as a volScalarField
dumpLevel true;
}
// Write the refinement level as a volScalarField
dumpLevel true;
// ************************************************************************* //

View File

@ -20,18 +20,18 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 1000;
nu 1e-06;
rho 1000;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
nu 1.48e-05;
rho 1;
}
sigma [1 0 -2 0 0 0 0] 0.07;
sigma 0.07;
// ************************************************************************* //

View File

@ -17,34 +17,28 @@ FoamFile
dynamicFvMesh dynamicMotionSolverFvMesh;
solver solidBody;
motionSolver solidBody;
solidBodyCoeffs
solidBodyMotionFunction multiMotion;
oscillation
{
solidBodyMotionFunction multiMotion;
multiMotionCoeffs
solidBodyMotionFunction oscillatingLinearMotion;
oscillatingLinearMotionCoeffs
{
oscillation
{
solidBodyMotionFunction oscillatingLinearMotion;
oscillatingLinearMotionCoeffs
{
amplitude (0.1 0 0);
omega 18.8945578;
}
}
amplitude (0.1 0 0);
omega 18.8945578;
}
}
rotation
{
solidBodyMotionFunction rotatingMotion;
rotatingMotionCoeffs
{
origin (0 0.02 0);
axis (0 0 1);
omega 18.8945578;
}
}
rotation
{
solidBodyMotionFunction rotatingMotion;
rotatingMotionCoeffs
{
origin (0 0.02 0);
axis (0 0 1);
omega 18.8945578;
}
}

View File

@ -20,17 +20,17 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 998.2;
nu 1e-06;
rho 998.2;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
nu 1.48e-05;
rho 1;
}
sigma [1 0 -2 0 0 0 0] 0.07;
sigma 0.07;
// ************************************************************************* //

View File

@ -17,26 +17,21 @@ FoamFile
dynamicFvMesh dynamicMotionSolverFvMesh;
solver solidBody;
motionSolver solidBody;
solidBodyCoeffs
{
solidBodyMotionFunction SDA;
SDACoeffs
{
CofG (0 0 0);
lamda 50;
rollAmax 0.22654;
rollAmin 0.10472;
heaveA 3.79;
swayA 2.34;
Q 2;
Tp 13.93;
Tpn 11.93;
dTi 0.059;
dTp -0.001;
}
}
solidBodyMotionFunction SDA;
CofG (0 0 0);
lamda 50;
rollAmax 0.22654;
rollAmin 0.10472;
heaveA 3.79;
swayA 2.34;
Q 2;
Tp 13.93;
Tpn 11.93;
dTi 0.059;
dTp -0.001;
// ************************************************************************* //

View File

@ -20,17 +20,17 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 998.2;
nu 1e-06;
rho 998.2;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
nu 1.48e-05;
rho 1;
}
sigma [1 0 -2 0 0 0 0] 0;
sigma 0;
// ************************************************************************* //

View File

@ -17,26 +17,21 @@ FoamFile
dynamicFvMesh dynamicMotionSolverFvMesh;
solver solidBody;
motionSolver solidBody;
solidBodyCoeffs
{
solidBodyMotionFunction SDA;
SDACoeffs
{
CofG (0 0 0);
lamda 50;
rollAmax 0.2;
rollAmin 0.1;
heaveA 4;
swayA 2.4;
Q 2;
Tp 14;
Tpn 12;
dTi 0.06;
dTp -0.001;
}
}
solidBodyMotionFunction SDA;
CofG (0 0 0);
lamda 50;
rollAmax 0.2;
rollAmin 0.1;
heaveA 4;
swayA 2.4;
Q 2;
Tp 14;
Tpn 12;
dTi 0.06;
dTp -0.001;
// ************************************************************************* //

View File

@ -20,18 +20,18 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 998.2;
nu 1e-06;
rho 998.2;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
nu 1.48e-05;
rho 1;
}
sigma [1 0 -2 0 0 0 0] 0;
sigma 0;
// ************************************************************************* //

View File

@ -17,26 +17,21 @@ FoamFile
dynamicFvMesh dynamicMotionSolverFvMesh;
solver solidBody;
motionSolver solidBody;
solidBodyCoeffs
{
solidBodyMotionFunction SDA;
SDACoeffs
{
CofG (0 0 0);
lamda 50;
rollAmax 0.22654;
rollAmin 0.10472;
heaveA 3.79;
swayA 2.34;
Q 2;
Tp 13.93;
Tpn 11.93;
dTi 0.059;
dTp -0.001;
}
}
solidBodyMotionFunction SDA;
CofG (0 0 0);
lamda 50;
rollAmax 0.22654;
rollAmin 0.10472;
heaveA 3.79;
swayA 2.34;
Q 2;
Tp 13.93;
Tpn 11.93;
dTi 0.059;
dTp -0.001;
// ************************************************************************* //

View File

@ -20,17 +20,17 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 998.2;
nu 1e-06;
rho 998.2;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
nu 1.48e-05;
rho 1;
}
sigma [1 0 -2 0 0 0 0] 0;
sigma 0;
// ************************************************************************* //

View File

@ -17,26 +17,21 @@ FoamFile
dynamicFvMesh dynamicMotionSolverFvMesh;
solver solidBody;
motionSolver solidBody;
solidBodyCoeffs
{
solidBodyMotionFunction SDA;
SDACoeffs
{
CofG (0 0 0);
lamda 50;
rollAmax 0.2;
rollAmin 0.1;
heaveA 4;
swayA 2.4;
Q 2;
Tp 14;
Tpn 12;
dTi 0.06;
dTp -0.001;
}
}
solidBodyMotionFunction SDA;
CofG (0 0 0);
lamda 50;
rollAmax 0.2;
rollAmin 0.1;
heaveA 4;
swayA 2.4;
Q 2;
Tp 14;
Tpn 12;
dTi 0.06;
dTp -0.001;
// ************************************************************************* //

View File

@ -20,18 +20,18 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 998.2;
nu 1e-06;
rho 998.2;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
nu 1.48e-05;
rho 1;
}
sigma [1 0 -2 0 0 0 0] 0;
sigma 0;
// ************************************************************************* //

View File

@ -17,17 +17,12 @@ FoamFile
dynamicFvMesh dynamicMotionSolverFvMesh;
solver solidBody;
motionSolver solidBody;
solidBodyCoeffs
{
solidBodyMotionFunction tabulated6DoFMotion;
tabulated6DoFMotionCoeffs
{
CofG (0 0 0);
timeDataFileName "$FOAM_CASE/constant/6DoF.dat";
}
}
solidBodyMotionFunction tabulated6DoFMotion;
CofG (0 0 0);
timeDataFileName "$FOAM_CASE/constant/6DoF.dat";
// ************************************************************************* //

View File

@ -20,17 +20,17 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 998.2;
nu 1e-06;
rho 998.2;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
nu 1.48e-05;
rho 1;
}
sigma [1 0 -2 0 0 0 0] 0;
sigma 0;
// ************************************************************************* //

View File

@ -17,49 +17,43 @@ FoamFile
dynamicFvMesh dynamicMotionSolverFvMesh;
solver solidBody;
motionSolver solidBody;
solidBodyCoeffs
solidBodyMotionFunction multiMotion;
// Table rotating in z axis
rotatingTable
{
solidBodyMotionFunction multiMotion;
multiMotionCoeffs
solidBodyMotionFunction rotatingMotion;
rotatingMotionCoeffs
{
// Table rotating in z axis
rotatingTable
{
solidBodyMotionFunction rotatingMotion;
rotatingMotionCoeffs
{
origin (0 0.1 0);
axis (0 0 1);
omega 6.2832; // rad/s
}
}
origin (0 0.1 0);
axis (0 0 1);
omega 6.2832; // rad/s
}
}
//// Box rotates on rotating table
//rotatingBox
//{
// solidBodyMotionFunction rotatingMotion;
// rotatingMotionCoeffs
// {
// origin (0 0 0);
// axis (1 0 0);
// omega 12.5664; // rad/s
// }
//}
//// Box rotates on rotating table
//rotatingBox
//{
// solidBodyMotionFunction rotatingMotion;
// rotatingMotionCoeffs
// {
// origin (0 0 0);
// axis (1 0 0);
// omega 12.5664; // rad/s
// }
//}
// Tube rocking on rotating table
rotatingBox
{
solidBodyMotionFunction oscillatingRotatingMotion;
oscillatingRotatingMotionCoeffs
{
origin (0 0 0);
omega 40; // rad/s
amplitude (45 0 0); // 45 degrees max tilt
}
}
// Tube rocking on rotating table
rotatingBox
{
solidBodyMotionFunction oscillatingRotatingMotion;
oscillatingRotatingMotionCoeffs
{
origin (0 0 0);
omega 40; // rad/s
amplitude (45 0 0); // 45 degrees max tilt
}
}

View File

@ -20,18 +20,18 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 998.2;
nu 1e-06;
rho 998.2;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
nu 1.48e-05;
rho 1;
}
sigma [1 0 -2 0 0 0 0] 0;
sigma 0;
// ************************************************************************* //

View File

@ -20,17 +20,17 @@ phases (fuel air);
fuel
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 5.952e-06;
rho [1 -3 0 0 0 0 0] 840;
nu 5.952e-06;
rho 840;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 8.5e-07;
rho [1 -3 0 0 0 0 0] 20;
nu 8.5e-07;
rho 20;
}
sigma [1 0 -2 0 0 0 0] 0.0261;
sigma 0.0261;
// ************************************************************************* //

View File

@ -20,17 +20,17 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.09e-06;
rho [1 -3 0 0 0 0 0] 998.8;
nu 1.09e-06;
rho 998.8;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
nu 1.48e-05;
rho 1;
}
sigma [1 0 -2 0 0 0 0] 0;
sigma 0;
// ************************************************************************* //

View File

@ -18,7 +18,6 @@ FoamFile
porosity1
{
type explicitPorositySource;
active yes;
explicitPorositySourceCoeffs
{
@ -27,21 +26,18 @@ porosity1
type DarcyForchheimer;
DarcyForchheimerCoeffs
{
d (2e8 -1000 -1000);
f (0 0 0);
d (2e8 -1000 -1000);
f (0 0 0);
coordinateSystem
coordinateSystem
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
}
type axesRotation;
e1 (0.70710678 0.70710678 0);
e2 (0 0 1);
}
}
}

View File

@ -20,18 +20,18 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 1000;
nu 1e-06;
rho 1000;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
nu 1.48e-05;
rho 1;
}
sigma [1 0 -2 0 0 0 0] 0.07;
sigma 0.07;
// ************************************************************************* //

View File

@ -20,18 +20,18 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 1000;
nu 1e-06;
rho 1000;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
nu 1.48e-05;
rho 1;
}
sigma [1 0 -2 0 0 0 0] 0.07;
sigma 0.07;
// ************************************************************************* //

View File

@ -20,18 +20,18 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 1000;
nu 1e-06;
rho 1000;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
nu 1.48e-05;
rho 1;
}
sigma [1 0 -2 0 0 0 0] 0.07;
sigma 0.07;
// ************************************************************************* //

View File

@ -20,18 +20,18 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 1000;
nu 1e-06;
rho 1000;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
nu 1.48e-05;
rho 1;
}
sigma [1 0 -2 0 0 0 0] 0.07;
sigma 0.07;
// ************************************************************************* //

View File

@ -20,18 +20,18 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 1000;
nu 1e-06;
rho 1000;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
nu 1.48e-05;
rho 1;
}
sigma [1 0 -2 0 0 0 0] 0.07;
sigma 0.07;
// ************************************************************************* //

View File

@ -20,18 +20,18 @@ phases (water air);
water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 1000;
nu 1e-06;
rho 1000;
}
air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
nu 1.48e-05;
rho 1;
}
sigma [1 0 -2 0 0 0 0] 0.0707106;
sigma 0.0707106;
// ************************************************************************* //

Some files were not shown because too many files have changed in this diff Show More