Fixes to scripts and tutorials courtesy of Thomas Meier
This commit is contained in:
parent
000065f4e9
commit
c14bac3ce8
13 changed files with 24157 additions and 81 deletions
|
@ -6,6 +6,7 @@ wclean solidModels
|
||||||
wclean elasticContactSolidFoam
|
wclean elasticContactSolidFoam
|
||||||
wclean elasticContactIncrSolidFoam
|
wclean elasticContactIncrSolidFoam
|
||||||
wclean elasticContactNonLinULSolidFoam
|
wclean elasticContactNonLinULSolidFoam
|
||||||
|
wclean elasticGravitySolidFoam
|
||||||
wclean elasticIncrSolidFoam
|
wclean elasticIncrSolidFoam
|
||||||
wclean elasticNonLinTLSolidFoam
|
wclean elasticNonLinTLSolidFoam
|
||||||
wclean elasticNonLinULSolidFoam
|
wclean elasticNonLinULSolidFoam
|
||||||
|
|
|
@ -6,6 +6,7 @@ wmake libso solidModels
|
||||||
wmake elasticContactSolidFoam
|
wmake elasticContactSolidFoam
|
||||||
wmake elasticContactIncrSolidFoam
|
wmake elasticContactIncrSolidFoam
|
||||||
wmake elasticContactNonLinULSolidFoam
|
wmake elasticContactNonLinULSolidFoam
|
||||||
|
wmake elasticGravitySolidFoam
|
||||||
wmake elasticIncrSolidFoam
|
wmake elasticIncrSolidFoam
|
||||||
wmake elasticNonLinTLSolidFoam
|
wmake elasticNonLinTLSolidFoam
|
||||||
wmake elasticNonLinULSolidFoam
|
wmake elasticNonLinULSolidFoam
|
||||||
|
|
|
@ -29,6 +29,7 @@ boundaryField
|
||||||
right
|
right
|
||||||
{
|
{
|
||||||
type timeVaryingSolidTraction;
|
type timeVaryingSolidTraction;
|
||||||
|
nonLinear off;
|
||||||
outOfBounds clamp;
|
outOfBounds clamp;
|
||||||
fileName "$FOAM_CASE/constant/timeVsRightTraction";
|
fileName "$FOAM_CASE/constant/timeVsRightTraction";
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@ patches
|
||||||
(2 3 7 6)
|
(2 3 7 6)
|
||||||
)
|
)
|
||||||
|
|
||||||
patch left
|
symmetryPlane left
|
||||||
(
|
(
|
||||||
(3 0 4 7)
|
(3 0 4 7)
|
||||||
)
|
)
|
||||||
|
|
|
@ -28,7 +28,7 @@ rheology
|
||||||
{
|
{
|
||||||
type linearElastic;
|
type linearElastic;
|
||||||
rho rho [1 -3 0 0 0 0 0] 10;
|
rho rho [1 -3 0 0 0 0 0] 10;
|
||||||
E E [1 -1 -2 0 0 0 0] 1.4e6;
|
E E [1 -1 -2 0 0 0 0] 1.4e4;
|
||||||
nu nu [0 0 0 0 0 0 0] 0.4;
|
nu nu [0 0 0 0 0 0 0] 0.4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,4 +8,5 @@ tutorialPath=`dirname $0`/..
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
(cd $case; runApplication blockMesh)
|
(cd $case; runApplication blockMesh)
|
||||||
|
(cd $case; runApplication fluent3DMeshToFoam compressionRelaxationTest.msh)
|
||||||
(cd $case; runApplication $application)
|
(cd $case; runApplication $application)
|
||||||
|
|
|
@ -51,14 +51,14 @@ bottom
|
||||||
value uniform (0 0 0);
|
value uniform (0 0 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
wedge-p
|
front
|
||||||
{
|
{
|
||||||
type wedge;
|
type solidTractionFree;
|
||||||
}
|
}
|
||||||
|
|
||||||
wedge-n
|
back
|
||||||
{
|
{
|
||||||
type wedge;
|
type solidTractionFree;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,9 +1,9 @@
|
||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM Extend Project: Open source CFD |
|
||||||
| \\ / O peration | Version: 1.5-dev |
|
| \\ / O peration | Version: 1.6-ext |
|
||||||
| \\ / A nd | Revision: 1629 |
|
| \\ / A nd | Web: www.extend-project.de |
|
||||||
| \\/ M anipulation | Web: http://www.OpenFOAM.org |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
{
|
{
|
||||||
|
@ -17,15 +17,15 @@ FoamFile
|
||||||
|
|
||||||
6
|
6
|
||||||
(
|
(
|
||||||
wedge-n
|
front
|
||||||
{
|
{
|
||||||
type wedge;
|
type patch;
|
||||||
nFaces 3950;
|
nFaces 3950;
|
||||||
startFace 7771;
|
startFace 7771;
|
||||||
}
|
}
|
||||||
wedge-p
|
back
|
||||||
{
|
{
|
||||||
type wedge;
|
type patch;
|
||||||
nFaces 3950;
|
nFaces 3950;
|
||||||
startFace 11721;
|
startFace 11721;
|
||||||
}
|
}
|
||||||
|
@ -37,19 +37,19 @@ FoamFile
|
||||||
}
|
}
|
||||||
freeSurface
|
freeSurface
|
||||||
{
|
{
|
||||||
type wall;
|
type patch;
|
||||||
nFaces 50;
|
nFaces 50;
|
||||||
startFace 15721;
|
startFace 15721;
|
||||||
}
|
}
|
||||||
bottom
|
bottom
|
||||||
{
|
{
|
||||||
type wall;
|
type patch;
|
||||||
nFaces 79;
|
nFaces 79;
|
||||||
startFace 15771;
|
startFace 15771;
|
||||||
}
|
}
|
||||||
loading
|
loading
|
||||||
{
|
{
|
||||||
type wall;
|
type patch;
|
||||||
nFaces 79;
|
nFaces 79;
|
||||||
startFace 15850;
|
startFace 15850;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,62 +0,0 @@
|
||||||
/*---------------------------------------------------------------------------*\
|
|
||||||
| ========= | |
|
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
||||||
| \\ / O peration | Version: 1.0 |
|
|
||||||
| \\ / A nd | Web: http://www.openfoam.org |
|
|
||||||
| \\/ M anipulation | |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
|
|
||||||
root "";
|
|
||||||
case "";
|
|
||||||
instance "";
|
|
||||||
local "";
|
|
||||||
|
|
||||||
class dictionary;
|
|
||||||
object rheologyProperties;
|
|
||||||
}
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
planeStress no;
|
|
||||||
|
|
||||||
rheology
|
|
||||||
{
|
|
||||||
type PronyViscoelastic;
|
|
||||||
|
|
||||||
rho rho [1 -3 0 0 0 0 0] 1000;
|
|
||||||
|
|
||||||
kDimensions [1 -1 -2 0 0 0 0];
|
|
||||||
|
|
||||||
tauDimensions [0 0 1 0 0 0 0];
|
|
||||||
|
|
||||||
size 5;
|
|
||||||
|
|
||||||
k nonuniform List<scalar>
|
|
||||||
5
|
|
||||||
(
|
|
||||||
708.709
|
|
||||||
1358.33
|
|
||||||
5.80601
|
|
||||||
307.687
|
|
||||||
619.47
|
|
||||||
);
|
|
||||||
|
|
||||||
tau nonuniform List<scalar>
|
|
||||||
5
|
|
||||||
(
|
|
||||||
0
|
|
||||||
0.223865
|
|
||||||
5.80775
|
|
||||||
16.0804
|
|
||||||
199.512
|
|
||||||
);
|
|
||||||
|
|
||||||
nu nu [0 0 0 0 0 0 0] 0.45;
|
|
||||||
}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
|
@ -1,3 +1,3 @@
|
||||||
viscoElasticStressFoam.C
|
viscoElasticSolidFoam.C
|
||||||
|
|
||||||
EXE = $(FOAM_USER_APPBIN)/viscoElasticStressFoam
|
EXE = $(FOAM_USER_APPBIN)/viscoElasticSolidFoam
|
||||||
|
|
Reference in a new issue