22 #include <LbmLib/include/solver/BioSolver/BioSolverGrowth.hpp>
23 #include <LbmLib/include/geometry/GeometryHandler.hpp>
24 #include <LbmLib/include/GlobalSimulationParameters.hpp>
25 #include <LbmLib/include/nodes/PhysicalNode.hpp>
33 const unsigned int FREQUENCY = 1;
34 const double source = 0.0025;
35 double cdeconcentration;
38 BioSolverGrowth::BioSolverGrowth() : BioBaseSolver()
46 if (Parameters.getCurrentIteration()%FREQUENCY != 0) {
51 #pragma omp parallel for schedule(dynamic)
52 for (
unsigned int ity = 0;
55 for (
unsigned int itx = 0;
58 if (geometryhandler.
getPhysicalNodes()[ity][itx]->getDomainIdentifier() != 0 ) {
60 geometryhandler.
getPhysicalNodes()[ity][itx]->getFluidSolver().addMass(source);
66 const std::string BioSolverGrowth::name =
"BioSolverGrowth";
virtual void applyBioProcess(geometry::GeometryHandler &geometryhandler, solver::ForceSolver &forcesolver)
Applies biological processes.
const std::vector< std::vector< nodes::PhysicalNode * > > & getPhysicalNodes() const
getPhysicalNodes Getter method for the physical node grid
class responsible for generating the internal geometry representation