mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GIT: Initial commit after latest foundation merge
This commit is contained in:
@ -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
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@ -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
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user