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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user