ABLATE Source Documentation  0.12.34
constantPressureFix.hpp
1 #ifndef ABLATELIBRARY_CONSTANTPRESSUREFIX_HPP
2 #define ABLATELIBRARY_CONSTANTPRESSUREFIX_HPP
3 
4 #include <memory>
5 #include "eos/eos.hpp"
6 #include "finiteVolume/finiteVolumeSolver.hpp"
7 #include "flowProcess.hpp"
8 #include "monitors/logs/log.hpp"
9 
10 namespace ablate::finiteVolume::processes {
11 
16  private:
18  const PetscReal pressure;
19 
21  const std::shared_ptr<eos::EOS> eos;
22 
24  ablate::eos::ThermodynamicFunction densityFunction;
25 
27  ablate::eos::ThermodynamicFunction internalSensibleEnergyFunction;
28 
30  ablate::eos::EOSFunction eulerFromEnergyAndPressure = nullptr;
31 
32  public:
33  explicit ConstantPressureFix(std::shared_ptr<eos::EOS> eos, double pressure);
34 
40 };
41 
42 } // namespace ablate::finiteVolume::processes
43 #endif // ABLATELIBRARY_CONSTANTPRESSUREFIX_HPP
Definition: finiteVolumeSolver.hpp:28
Definition: constantPressureFix.hpp:15
void Setup(ablate::finiteVolume::FiniteVolumeSolver &fv) override
Definition: constantPressureFix.cpp:9