GIT: Initial commit after latest foundation merge

This commit is contained in:
andy
2016-04-25 11:40:48 +01:00
4003 changed files with 74634 additions and 37783 deletions

View File

@ -41,8 +41,7 @@
"rho",
dimMass/dimVolume,
rhoValue
),
zeroGradientFvPatchField<scalar>::typeName
)
)
);
}
@ -97,8 +96,7 @@
"Erho",
dimMass/dimLength/sqr(dimTime),
rhoEValue
),
zeroGradientFvPatchField<scalar>::typeName
)
)
);
}
@ -152,8 +150,7 @@
"nu",
dimless,
nuValue
),
zeroGradientFvPatchField<scalar>::typeName
)
)
);
}

View File

@ -75,8 +75,7 @@ if (thermalStress)
"C",
dimensionSet(0, 2, -2 , -1, 0),
CValue
),
zeroGradientFvPatchField<scalar>::typeName
)
)
);
@ -131,8 +130,7 @@ if (thermalStress)
"rhoK",
dimensionSet(1, 1, -3 , -1, 0),
rhoKValue
),
zeroGradientFvPatchField<scalar>::typeName
)
)
);
@ -188,8 +186,7 @@ if (thermalStress)
"alpha",
inv(dimTemperature),
alphaValue
),
zeroGradientFvPatchField<scalar>::typeName
)
)
);
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -42,11 +42,11 @@ tractionDisplacementFvPatchVectorField
)
:
fixedGradientFvPatchVectorField(p, iF),
traction_(p.size(), vector::zero),
traction_(p.size(), Zero),
pressure_(p.size(), 0.0)
{
fvPatchVectorField::operator=(patchInternalField());
gradient() = vector::zero;
gradient() = Zero;
}
@ -78,7 +78,7 @@ tractionDisplacementFvPatchVectorField
pressure_("pressure", dict, p.size())
{
fvPatchVectorField::operator=(patchInternalField());
gradient() = vector::zero;
gradient() = Zero;
}

View File

@ -14,6 +14,6 @@ if (!(runTime.timeIndex() % 5))
if (smi < -SMALL)
{
Info<< "Resetting Dcorr to 0" << endl;
Dcorr == dimensionedVector("0", Dcorr.dimensions(), vector::zero);
Dcorr == dimensionedVector("0", Dcorr.dimensions(), Zero);
}
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -42,11 +42,11 @@ tractionDisplacementCorrectionFvPatchVectorField
)
:
fixedGradientFvPatchVectorField(p, iF),
traction_(p.size(), vector::zero),
traction_(p.size(), Zero),
pressure_(p.size(), 0.0)
{
fvPatchVectorField::operator=(patchInternalField());
gradient() = vector::zero;
gradient() = Zero;
}
@ -78,7 +78,7 @@ tractionDisplacementCorrectionFvPatchVectorField
pressure_("pressure", dict, p.size())
{
fvPatchVectorField::operator=(patchInternalField());
gradient() = vector::zero;
gradient() = Zero;
}