Skip to content
Snippets Groups Projects
Commit c4fd345a authored by Andrew Heather's avatar Andrew Heather
Browse files

added solverFreq to read(), and changed fvm->fvmSup header

parent 8336c33a
Branches
Tags
No related merge requests found
......@@ -27,7 +27,7 @@ License
#include "radiationModel.H"
#include "absorptionEmissionModel.H"
#include "scatterModel.H"
#include "fvm.H"
#include "fvmSup.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
......@@ -112,6 +112,9 @@ bool Foam::radiation::radiationModel::read()
lookup("radiation") >> radiation_;
coeffs_ = subDict(type() + "Coeffs");
lookup("solverFreq") >> solverFreq_,
solverFreq_ = max(1, solverFreq_);
return true;
}
else
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment