Formatting
This commit is contained in:
parent
65cd7ee3f3
commit
7ba34de8e4
3 changed files with 5 additions and 4 deletions
|
@ -36,7 +36,6 @@ Description
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
||||
# include "addTimeOptions.H"
|
||||
# include "setRootCase.H"
|
||||
|
||||
|
@ -53,7 +52,7 @@ int main(int argc, char *argv[])
|
|||
# include "createMesh.H"
|
||||
# include "readMechanicalProperties.H"
|
||||
|
||||
for (label i=startTime; i<endTime; i++)
|
||||
for (label i = startTime; i < endTime; i++)
|
||||
{
|
||||
runTime.setTime(Times[i], i);
|
||||
|
||||
|
@ -79,8 +78,8 @@ int main(int argc, char *argv[])
|
|||
|
||||
volTensorField gradU = fvc::grad(U);
|
||||
|
||||
volSymmTensorField sigma =
|
||||
rho*(2.0*mu*symm(gradU) + lambda*I*tr(gradU));
|
||||
volSymmTensorField sigma =
|
||||
rho*(2.0*mu*symm(gradU) + lambda*I*tr(gradU));
|
||||
|
||||
volScalarField sigmaEq
|
||||
(
|
||||
|
|
|
@ -76,6 +76,7 @@ void Foam::OutputFilterFunctionObject<OutputFilter>::destroyFilter()
|
|||
ptr_.reset();
|
||||
}
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
template<class OutputFilter>
|
||||
|
|
|
@ -323,6 +323,7 @@ void Foam::probes::write()
|
|||
{
|
||||
// Check if the mesh is changing and if so, resample
|
||||
const fvMesh& mesh = refCast<const fvMesh>(obr_);
|
||||
|
||||
if (mesh.moving() || mesh.changing())
|
||||
{
|
||||
cellList_.clear();
|
||||
|
|
Reference in a new issue