CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Implementation of Energy Equation- two Phase

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 29, 2019, 15:16
Default Implementation of Energy Equation- two Phase
  #1
New Member
 
siavash
Join Date: Jul 2019
Location: Indiana, US
Posts: 11
Rep Power: 7
szamani is on a distinguished road
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
Attached Images
File Type: jpg Energy_Equation.JPG (42.0 KB, 62 views)
szamani is offline   Reply With Quote

Old   April 22, 2022, 03:53
Default
  #2
Member
 
hari charan
Join Date: Sep 2021
Location: India,hyderabad
Posts: 97
Rep Power: 5
saicharan662000@gmail.com is on a distinguished road
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
saicharan662000@gmail.com is offline   Reply With Quote

Old   April 22, 2022, 09:11
Default
  #3
New Member
 
siavash
Join Date: Jul 2019
Location: Indiana, US
Posts: 11
Rep Power: 7
szamani is on a distinguished road
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.
szamani is offline   Reply With Quote

Old   April 22, 2022, 09:22
Default
  #4
Member
 
hari charan
Join Date: Sep 2021
Location: India,hyderabad
Posts: 97
Rep Power: 5
saicharan662000@gmail.com is on a distinguished road
Thanks for reply. Can you send me after publishing. I will try my best to resolve it mean while
saicharan662000@gmail.com is offline   Reply With Quote

Reply

Tags
energy equation, evaporation, new solver


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 14:50.