blackoilmicpmodules.hh
Go to the documentation of this file.
150 if (phi - priVars[biofilmConcentrationIdx] - priVars[calciteConcentrationIdx] < toleranceBeforeClogging())
227 return eqIdx == contiMicrobialEqIdx || eqIdx == contiOxygenEqIdx || eqIdx == contiUreaEqIdx || eqIdx == contiBiofilmEqIdx || eqIdx == contiCalciteEqIdx;
250 const LhsEval massMicrobes = surfaceVolumeWater * Toolbox::template decay<LhsEval>(intQuants.microbialConcentration());
254 const LhsEval massOxygen = surfaceVolumeWater * Toolbox::template decay<LhsEval>(intQuants.oxygenConcentration());
258 const LhsEval massUrea = surfaceVolumeWater * Toolbox::template decay<LhsEval>(intQuants.ureaConcentration());
293 flux[contiMicrobialEqIdx] = extQuants.volumeFlux(waterPhaseIdx) * decay<Scalar>(up.microbialConcentration());
294 flux[contiOxygenEqIdx] = extQuants.volumeFlux(waterPhaseIdx) * decay<Scalar>(up.oxygenConcentration());
295 flux[contiUreaEqIdx] = extQuants.volumeFlux(waterPhaseIdx) * decay<Scalar>(up.ureaConcentration());
332 Scalar k_u = halfVelocityUrea() / 10.0;//Dividing by scaling factor 10 (see WellInterface_impl.hpp)
334 Scalar mu_u = maximumUreaUtilization() / 10.0;//Dividing by scaling factor 10 (see WellInterface_impl.hpp)
340 source[Indices::contiMicrobialEqIdx] += intQuants.microbialConcentration() * intQuants.porosity() *
341 (Y_sb * mu * intQuants.oxygenConcentration() / (k_o + intQuants.oxygenConcentration()) - k_d - k_a)
344 source[Indices::contiOxygenEqIdx] -= (intQuants.microbialConcentration() * intQuants.porosity() + rho_b * intQuants.biofilmConcentration()) *
347 source[Indices::contiUreaEqIdx] -= rho_b * intQuants.biofilmConcentration() * mu_u * intQuants.ureaConcentration() / (k_u + intQuants.ureaConcentration());
349 source[Indices::contiBiofilmEqIdx] += intQuants.biofilmConcentration() * (Y_sb * mu * intQuants.oxygenConcentration() / (k_o + intQuants.oxygenConcentration()) - k_d
350 - k_str * pow(intQuants.porosity() * dpW, 0.58) - Y_uc * (rho_b / rho_c) * intQuants.biofilmConcentration() * mu_u *
351 (intQuants.ureaConcentration() / (k_u + intQuants.ureaConcentration())) / (intQuants.porosity() + intQuants.biofilmConcentration()))
354 source[Indices::contiCalciteEqIdx] += (rho_b / rho_c) * intQuants.biofilmConcentration() * Y_uc * mu_u * intQuants.ureaConcentration() / (k_u + intQuants.ureaConcentration());
404 return params_.maximumUreaConcentration_ / 10.0;//Dividing by scaling factor 10 (see WellInterface_impl.hpp);
505 microbialConcentration_ = priVars.makeEvaluation(microbialConcentrationIdx, timeIdx, linearizationType);
506 oxygenConcentration_ = priVars.makeEvaluation(oxygenConcentrationIdx, timeIdx, linearizationType);
508 biofilmConcentration_ = priVars.makeEvaluation(biofilmConcentrationIdx, timeIdx, linearizationType);
509 calciteConcentration_ = priVars.makeEvaluation(calciteConcentrationIdx, timeIdx, linearizationType);
512 asImp_().mobility_[waterPhaseIdx] *= max((pow((intQuants.porosity() - phi_crit) / (referencePorosity_ - phi_crit), eta) + k_min / K[0][0])/(1. + k_min / K[0][0]), k_min / K[0][0]);
Contains the parameters required to extend the black-oil model by MICP. Declares the properties required by the black oil model. Provides the MICP specific extensive quantities to the generic black-oil module's extensive quantitie... Definition: blackoilmicpmodules.hh:582 void MICPPropertiesUpdate_(const ElementContext &, unsigned, unsigned) Definition: blackoilmicpmodules.hh:552 const Evaluation & ureaConcentration() const Definition: blackoilmicpmodules.hh:563 const Evaluation & oxygenConcentration() const Definition: blackoilmicpmodules.hh:560 const Evaluation & microbialConcentration() const Definition: blackoilmicpmodules.hh:557 const Evaluation & calciteConcentration() const Definition: blackoilmicpmodules.hh:569 const Evaluation & biofilmConcentration() const Definition: blackoilmicpmodules.hh:566 Provides the volumetric quantities required for the equations needed by the MICP extension of the bla... Definition: blackoilmicpmodules.hh:465 void MICPPropertiesUpdate_(const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx) Update the intensive properties needed to handle MICP from the primary variables. Definition: blackoilmicpmodules.hh:492 Evaluation biofilmConcentration_ Definition: blackoilmicpmodules.hh:539 const Evaluation & biofilmConcentration() const Definition: blackoilmicpmodules.hh:525 Implementation & asImp_() Definition: blackoilmicpmodules.hh:533 Evaluation oxygenConcentration_ Definition: blackoilmicpmodules.hh:537 const Evaluation & calciteConcentration() const Definition: blackoilmicpmodules.hh:528 Evaluation ureaConcentration_ Definition: blackoilmicpmodules.hh:538 const Evaluation & microbialConcentration() const Definition: blackoilmicpmodules.hh:516 const Evaluation & ureaConcentration() const Definition: blackoilmicpmodules.hh:522 Evaluation microbialConcentration_ Definition: blackoilmicpmodules.hh:536 Evaluation calciteConcentration_ Definition: blackoilmicpmodules.hh:540 const Evaluation & oxygenConcentration() const Definition: blackoilmicpmodules.hh:519 Contains the high level supplements required to extend the black oil model by MICP. Definition: blackoilmicpmodules.hh:56 static void checkCloggingMICP(const Model &model, const Scalar phi, unsigned dofIdx) The simulator stops if "clogging" has been (almost) reached in any of the cells. Definition: blackoilmicpmodules.hh:147 static void registerParameters() Register all run-time parameters for the black-oil MICP module. Definition: blackoilmicpmodules.hh:199 static const Scalar maximumGrowthRate() Definition: blackoilmicpmodules.hh:392 static const Scalar yieldGrowthCoefficient() Definition: blackoilmicpmodules.hh:437 static const Scalar detachmentRate() Definition: blackoilmicpmodules.hh:367 static Scalar eqWeight(unsigned eqIdx) Definition: blackoilmicpmodules.hh:230 static void computeFlux(RateVector &flux, const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) Definition: blackoilmicpmodules.hh:271 static void addSource(RateVector &source, const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx) Definition: blackoilmicpmodules.hh:300 static const Scalar halfVelocityOxygen() Definition: blackoilmicpmodules.hh:382 static const Scalar densityBiofilm() Definition: blackoilmicpmodules.hh:357 static bool eqApplies(unsigned eqIdx) Definition: blackoilmicpmodules.hh:221 static const Scalar toleranceBeforeClogging() Definition: blackoilmicpmodules.hh:432 static const Scalar fittingFactor() Definition: blackoilmicpmodules.hh:377 static const Scalar microbialDeathRate() Definition: blackoilmicpmodules.hh:417 static const Scalar maximumUreaConcentration() Definition: blackoilmicpmodules.hh:402 static void registerOutputModules(Model &model, Simulator &simulator) Register all MICP specific VTK and ECL output modules. Definition: blackoilmicpmodules.hh:211 static void setMICPpara(const Scalar &densityBiofilm, const Scalar &densityCalcite, const Scalar &detachmentRate, const Scalar &criticalPorosity, const Scalar &fittingFactor, const Scalar &halfVelocityOxygen, const Scalar &halfVelocityUrea, const Scalar &maximumGrowthRate, const Scalar &maximumUreaUtilization, const Scalar µbialAttachmentRate, const Scalar µbialDeathRate, const Scalar &minimumPermeability, const Scalar &oxygenConsumptionFactor, const Scalar &yieldGrowthCoefficient, const Scalar &maximumOxygenConcentration, const Scalar &maximumUreaConcentration, const Scalar &toleranceBeforeClogging) Specify the MICP properties a single region. Definition: blackoilmicpmodules.hh:159 static const Scalar maximumUreaUtilization() Definition: blackoilmicpmodules.hh:407 static const std::vector< Scalar > phi() Definition: blackoilmicpmodules.hh:442 static const Scalar densityCalcite() Definition: blackoilmicpmodules.hh:362 static void addStorage(Dune::FieldVector< LhsEval, numEq > &storage, const IntensiveQuantities &intQuants) Definition: blackoilmicpmodules.hh:240 static const Scalar minimumPermeability() Definition: blackoilmicpmodules.hh:422 static const Scalar microbialAttachmentRate() Definition: blackoilmicpmodules.hh:412 static const Scalar criticalPorosity() Definition: blackoilmicpmodules.hh:372 static const Scalar maximumOxygenConcentration() Definition: blackoilmicpmodules.hh:397 static const Scalar oxygenConsumptionFactor() Definition: blackoilmicpmodules.hh:427 static const Scalar halfVelocityUrea() Definition: blackoilmicpmodules.hh:387 VTK output module for the MICP model's related quantities. Definition: vtkblackoilmicpmodule.hh:63 static void registerParameters() Register all run-time parameters for the multi-phase VTK output module. Definition: vtkblackoilmicpmodule.hh:88 Definition: blackoilboundaryratevector.hh:37 typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(.... Definition: propertysystem.hh:235 Struct holding the parameters for the BlackOilMICPModule class. Definition: blackoilmicpparams.hh:37 |