[OpenFOAM 11] Adding new equations in modular solvers
I'm setting up a custom modular solver to simulate electrochemical cells in OpenFOAM 11. I've created a derived class from multicomponentFluid that compiles and runs.
I'm currently attempting to add in another scalar field variable for the electric potential, but I cannot figure out how to do that exactly (OF10 & OF2312 are straightforward with this). This is what I attempted (does not compile): customFluid.C: Code:
Foam::solvers::customFluid::customFluid(fvMesh& mesh) Code:
... Would appreciate any help on this! |
All times are GMT -4. The time now is 19:33. |