Formatting

This commit is contained in:
Hrvoje Jasak 2014-10-15 11:22:29 +01:00
parent 65cd7ee3f3
commit 7ba34de8e4
3 changed files with 5 additions and 4 deletions

View file

@ -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
(

View file

@ -76,6 +76,7 @@ void Foam::OutputFilterFunctionObject<OutputFilter>::destroyFilter()
ptr_.reset();
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
template<class OutputFilter>

View file

@ -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();