Fixes to scripts and tutorials courtesy of Thomas Meier

This commit is contained in:
Philip Cardiff 2012-10-17 21:06:49 +01:00
parent 000065f4e9
commit c14bac3ce8
13 changed files with 24157 additions and 81 deletions

View file

@ -6,6 +6,7 @@ wclean solidModels
wclean elasticContactSolidFoam
wclean elasticContactIncrSolidFoam
wclean elasticContactNonLinULSolidFoam
wclean elasticGravitySolidFoam
wclean elasticIncrSolidFoam
wclean elasticNonLinTLSolidFoam
wclean elasticNonLinULSolidFoam

View file

@ -6,6 +6,7 @@ wmake libso solidModels
wmake elasticContactSolidFoam
wmake elasticContactIncrSolidFoam
wmake elasticContactNonLinULSolidFoam
wmake elasticGravitySolidFoam
wmake elasticIncrSolidFoam
wmake elasticNonLinTLSolidFoam
wmake elasticNonLinULSolidFoam

View file

@ -29,6 +29,7 @@ boundaryField
right
{
type timeVaryingSolidTraction;
nonLinear off;
outOfBounds clamp;
fileName "$FOAM_CASE/constant/timeVsRightTraction";
}

View file

@ -45,7 +45,7 @@ patches
(2 3 7 6)
)
patch left
symmetryPlane left
(
(3 0 4 7)
)

View file

@ -28,7 +28,7 @@ rheology
{
type linearElastic;
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;
}

View file

@ -8,4 +8,5 @@ tutorialPath=`dirname $0`/..
. $WM_PROJECT_DIR/bin/tools/RunFunctions
(cd $case; runApplication blockMesh)
(cd $case; runApplication fluent3DMeshToFoam compressionRelaxationTest.msh)
(cd $case; runApplication $application)

View file

@ -51,14 +51,14 @@ bottom
value uniform (0 0 0);
}
wedge-p
front
{
type wedge;
type solidTractionFree;
}
wedge-n
back
{
type wedge;
type solidTractionFree;
}
}

View file

@ -1,9 +1,9 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5-dev |
| \\ / A nd | Revision: 1629 |
| \\/ M anipulation | Web: http://www.OpenFOAM.org |
| \\ / F ield | OpenFOAM Extend Project: Open source CFD |
| \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
@ -17,15 +17,15 @@ FoamFile
6
(
wedge-n
front
{
type wedge;
type patch;
nFaces 3950;
startFace 7771;
}
wedge-p
back
{
type wedge;
type patch;
nFaces 3950;
startFace 11721;
}
@ -37,19 +37,19 @@ FoamFile
}
freeSurface
{
type wall;
type patch;
nFaces 50;
startFace 15721;
}
bottom
{
type wall;
type patch;
nFaces 79;
startFace 15771;
}
loading
{
type wall;
type patch;
nFaces 79;
startFace 15850;
}

View file

@ -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;
}
// ************************************************************************* //

View file

@ -1,3 +1,3 @@
viscoElasticStressFoam.C
viscoElasticSolidFoam.C
EXE = $(FOAM_USER_APPBIN)/viscoElasticStressFoam
EXE = $(FOAM_USER_APPBIN)/viscoElasticSolidFoam