INT: org integration

1) rPolynomial Eq of State
2) externalForce and softWall in rigidBodyDynamics

INT: Several minor bug fixes plus
This commit is contained in:
sergio
2019-12-04 11:13:45 -08:00
committed by Andrew Heather
parent 5c74b709b1
commit 6e8f0dbe76
42 changed files with 1146 additions and 68 deletions

View File

@ -42,12 +42,13 @@ namespace Foam
void Foam::porosityModel::adjustNegativeResistance(dimensionedVector& resist)
{
scalar maxCmpt = max(0, cmptMax(resist.value()));
scalar maxCmpt = cmptMax(resist.value());
if (maxCmpt < 0)
{
FatalErrorInFunction
<< "Negative resistances are invalid, resistance = " << resist
<< "Cannot have all resistances set to negative, resistance = "
<< resist
<< exit(FatalError);
}
else