|
[Sponsors] |
Turn an incompressible multiphase solver into compressible |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 4, 2022, 05:57 |
Turn an incompressible multiphase solver into compressible
|
#1 |
New Member
Join Date: Jun 2022
Posts: 7
Rep Power: 4 |
Hello foamers.
First, I would like to apologize for my bad English, and as I just started programming in OpenFoam, it may be good for me to be pedagogue (I'm still a stranger to this). There is my problem : I want to turn the 'interCondensatingEvaporatingFoam' multiphase solver from incompressible to compressible. This solver initially uses the PIMPLE algorithm. Can anyone help me out on how to do this as cleanly as possible? I searched on many forums but couldn't really find it. I was told that a good way to start was to convert volumetric flows to mass flows. For now, I only compiled my new solver in USER_APPBIN. Thank you! |
|
September 5, 2022, 14:43 |
|
#2 |
Member
Al
Join Date: May 2019
Posts: 37
Rep Power: 7 |
Hello
In my opinion and based on my experience, turning interCondensatingEvaporatingFoam from incompressible to compressible is a really messy work and involves lots of modifications in the code and libraries you use. I recommend checking out a solver*called TwoPhaseFlow if you require a compressible solver for solving thermal*phase change phenomena, such as boiling or condensation. Conjugate heat transfer between solid and fluid areas is addressed by this solver, which is a hybrid of heatConductionFoam and buoyantFoam. I suggest check out this solver and its*tutorials in GitHub*if you're interested. Best |
|
September 6, 2022, 03:22 |
|
#3 |
Member
Join Date: Jan 2022
Location: Germany
Posts: 72
Rep Power: 4 |
I wouldnt recommend your idea. it will result into adding new dependencies to the density.
1. equation of state rho=f(p,T) => Adding equation of state and Energy equation 2. pressure-velocity coupling needs a density correction +more .. Comppressible and incompressible solvers are different. Its a different approach in solving the N-S-Equations. the role of pressure changes dramaticly in compressible flows. Better approach would be starting from a compressible solver and adding features to that instead of vice versa. |
|
Tags |
compressible, conversion, incompressible, multiphase, pimple |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ANSYS Meshing] Help with element size | sandri_92 | ANSYS Meshing & Geometry | 14 | November 14, 2018 08:54 |
Low Mach Number Compressible Multiphase Flows | DarrenC | CFX | 10 | May 26, 2014 09:52 |
what is difference between using compressible solver and incompressible solver | oilsok | OpenFOAM Running, Solving & CFD | 0 | March 23, 2014 02:11 |
Using pressure based solver for compressible flows | aamer | Main CFD Forum | 2 | June 15, 2011 13:45 |
Compressible vs. Incompressible formulations | Fernando Velasco Hurtado | Main CFD Forum | 3 | January 7, 2000 17:51 |