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

Which solver to use ?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2018, 13:39
Question Which solver to use ?
  #1
New Member
 
Adrien
Join Date: Jan 2018
Posts: 19
Rep Power: 8
Destouches is on a distinguished road
Hi Foamers,

I have a small quizz for ya. Considering that I can do:
- a multiphase heat transfer using chtMultiRegionFoam (ie: liquid/liquid exchanger)
- a boiling simulation with reactingTwoPhaseEulerFoam
Is there a way to do BOTH at the same time ?

Put clearly, can OpenFOAM simulate hot pressurised water in a copper tube that will evaporate unpressurized water around it ?


Good evening everyone
Destouches is offline   Reply With Quote

Old   March 5, 2018, 17:53
Default
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi,

that is not a quiz. Yes you will be able to do that with foam but not with the standard libraries and solvers. You have to program it yourself. Good luck for that topic.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   March 6, 2018, 03:00
Default
  #3
New Member
 
Adrien
Join Date: Jan 2018
Posts: 19
Rep Power: 8
Destouches is on a distinguished road
Hi Tobias,

Thank you for your answer, and for your overall contribution, it's somehow because of you that I'm fond of OF today.

I'll dig the question. The handtaylored solver for boiling simulation I found so far (here: https://www.youtube.com/watch?v=trZIxYIH7-0) seems to imply out of date code. Well, it's never easy.


Quote:
Originally Posted by Tobi View Post
that is not a quiz.
You're right, so I have another question
Is a fluid model plasma modelling also possible on OpenFOAM ?

Does it imply to manually write maxwell and transport equations in a custom solver ?
If so, is there a course somewhere that describe this kind of process ?


Cheers
Destouches is offline   Reply With Quote

Old   March 6, 2018, 10:36
Default
  #4
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi,

actually I am doing the same development in my programming screen casts (with respect to the source given in the video » Chalmers). See 5.6 on my website (https://holzmann-cfd.de/training/ope...nd-programming). Actually the only difference is the adding of a passive transport equation for the temperature and add a temperature depended saturation pressure, e.g. a formulation given here https://en.wikipedia.org/wiki/Vapour_pressure_of_water.

However, some remarks to the video:
  • Nice one however the run time is very small - maybe instability
  • There are actually no real vapor cell because alpha is always > 0.7
  • 2D in such a case is always a complex topic based on the pressure distribution
Well, but the simulation seems to work. I am just wondering if it would work if the temperature is higher and one will get real vapor. In my experience, the solver was very instable (but during that time I was a beginner in FOAM - with the development I made last year, I never did big tests). Well, thats another story.


To your other question. Plasma modeling is possible sure. One colleague in the chair I am working at is doing that (ANSYS). However, there should not be a problem to do the same stuff with FOAM. In addition another colleague is duing MHD. However, I cannot give you any advice which equations have to be modeled and taken into account for plasmas. If I remember correctly my colleague calculates free iones in the air and other things - complex modeling but the results look exciting <3.


If you need all the Maxwell equations, I don't know. Depend what your want to model. One thing to your first post. I would write a new solver that solves a CHT problem with 1 solid, 1 singlephase and 1 multiphase domain.


Good luck
Tobi

PS: Thanks for your words. I feel honored if you get used to FOAM based on my work. Actually, we should thank Bruno who is keeping the forum clear and also do a lot of work here as well as Bernhard for the wiki. Of course there are a lot of other guys who should be acknowledged. I took my time and did it now: Thanks to the people who are making this forum successful
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Reply


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
Fluent Adjoint Solver? ex10148 FLUENT 16 September 28, 2018 09:11
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 10:52
Divergence problem Smaras FLUENT 13 February 21, 2013 06:03
3d vof Smaras FLUENT 2 February 19, 2013 07:58
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 15:08


All times are GMT -4. The time now is 07:30.