mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
Added missing files.
This commit is contained in:
@ -0,0 +1,2 @@
|
||||
p = max(p, pMin);
|
||||
p = min(p, pMax);
|
||||
11
applications/solvers/rcfdemSolverRhoSteadyPimple/limitU.H
Normal file
11
applications/solvers/rcfdemSolverRhoSteadyPimple/limitU.H
Normal file
@ -0,0 +1,11 @@
|
||||
if (UMax.value() > 0)
|
||||
{
|
||||
forAll(U,cellI)
|
||||
{
|
||||
scalar mU(mag(U[cellI]));
|
||||
if (mU > UMax.value())
|
||||
{
|
||||
U[cellI] *= UMax.value() / mU;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user