derived from solidThermo. This allows the standard heat transfer boundary conditions, for example externalWallHeatFluxTemperature, to be used with solidDisplacementFoam and also significantly simplifies the code. Additionally solidDisplacementFoam and solidEquilibriumDisplacementFoam have been updated to handle spatially varying physical properties in a conservative manner both for the stress and heat transfer. This means that the stress field sigma is now dynamic rather than kinematic as it was previously. For uniform property fields the behaviour of the solvers is the same as it was before this update.
54 lines
1.2 KiB
C++
54 lines
1.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class volScalarField;
|
|
object T;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 0 0 1 0 0 0];
|
|
|
|
internalField uniform 0;
|
|
|
|
boundaryField
|
|
{
|
|
topSurface
|
|
{
|
|
type calculated;
|
|
value uniform 0;
|
|
}
|
|
|
|
bottomSurface
|
|
{
|
|
type calculated;
|
|
value uniform 0;
|
|
}
|
|
|
|
fixedEnd
|
|
{
|
|
type calculated;
|
|
value uniform 0;
|
|
}
|
|
|
|
tractionEnd
|
|
{
|
|
type calculated;
|
|
value uniform 0;
|
|
}
|
|
|
|
defaultFaces
|
|
{
|
|
type empty;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|