|
[Sponsors] |
July 29, 2019, 15:16 |
Implementation of Energy Equation- two Phase
|
#1 |
New Member
siavash
Join Date: Jul 2019
Location: Indiana, US
Posts: 11
Rep Power: 7 |
Hi,
I am new to OpenFOAM. I am trying to implement the attached energy equation for developing a solver to simulate evaporation. I was wondering if anyone could point me in the right direction and guiding me on how to implement this? I will be modifying interPhaseChangeFoam, I have created the required temperature field, and I have modified the mass transfer module. Thank you, Siavash |
|
April 22, 2022, 03:53 |
|
#2 |
Member
hari charan
Join Date: Sep 2021
Location: India,hyderabad
Posts: 97
Rep Power: 5 |
Hello siavash,
Even I am trying the same. I implemented TEqn and required mass transfer model. but endded up with the errors like this. createFields.H:50: undefined reference to `Foam:haseChangeTwoPhaseMixture::New(Foam::Geome tricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&)' /usr/bin/ld.bfd: /home/hari/OpenFOAM/hari-8/platforms/linux64GccDPInt32Opt/lib/libmyIncompressibleTwoPhaseThermalMixture.so: undefined reference to `Foam::conductivityModel::New(Foam::word const&, Foam::dictionary const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&)' Have you solved your problem? If so can you tell me what I should do to remove the above Error |
|
April 22, 2022, 09:11 |
|
#3 |
New Member
siavash
Join Date: Jul 2019
Location: Indiana, US
Posts: 11
Rep Power: 7 |
Hey, yeah, I figured it out. It’s a lot more complicated. I am actually working on publishing my paper on it. If you give me a few weeks, I can share my solver with you and you can use it to modify whatever you want with it.
Mass transfer in interFoam is tricky because it happens at the interface, and you have to define a way to get gradient of vapor at interface. |
|
April 22, 2022, 09:22 |
|
#4 |
Member
hari charan
Join Date: Sep 2021
Location: India,hyderabad
Posts: 97
Rep Power: 5 |
Thanks for reply. Can you send me after publishing. I will try my best to resolve it mean while
|
|
Tags |
energy equation, evaporation, new solver |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Porous Modeling of Energy equation in OpenFOAM | mohammad_kordo | OpenFOAM Running, Solving & CFD | 9 | November 22, 2020 08:18 |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 07:27 |
Source term energy equation for reactive flows | DaIN | Main CFD Forum | 0 | October 6, 2011 16:11 |
Viscosity and the Energy Equation | Rich | Main CFD Forum | 0 | December 16, 2009 15:01 |
question about energy equation | zhou | FLUENT | 0 | February 24, 2004 00:55 |