Hello Dumux users,
I have tried to impose a time to end gas injection in my domain.
To inject the gas, I use addPointSource and so in this function I add the
condition of the time I want as follows:
void addPointSources(std::vector<PointSource>& pointSources) const.
{
if ( time_ < injectionFin_)
{
pointSources.push_back(PointSource({30.00, 0.00}, {0,
InjectionRate_})) ;
}
}
The injection continues even after the simulation has reached the
"injectionFin_" time!P.S.: I use the "2p2c / injection" test. I have attached the following files: parms.input; problem.hh and main.cc Any help will be appreciated. Thanks in advance for your time! Best regards, Kenza
problem.hh
Description: Binary data
main.cc
Description: Binary data
params.input
Description: Binary data
_______________________________________________ DuMux mailing list [email protected] https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
