# Turn an incompressible multiphase solver into compressible

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 LinkBack Thread Tools Search this Thread Display Modes
 August 4, 2022, 04:57 Turn an incompressible multiphase solver into compressible #1 New Member   Join Date: Jun 2022 Posts: 7 Rep Power: 3 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, 13: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, 02: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. dlahaye likes this.

 Tags compressible, conversion, incompressible, multiphase, pimple

 Thread Tools Search this Thread Search this Thread: Advanced Search Display Modes Linear Mode

 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 OffTrackbacks are Off Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post [ANSYS Meshing] Help with element size sandri_92 ANSYS Meshing & Geometry 14 November 14, 2018 07:54 DarrenC CFX 10 May 26, 2014 08:52 oilsok OpenFOAM Running, Solving & CFD 0 March 23, 2014 01:11 aamer Main CFD Forum 2 June 15, 2011 12:45 Fernando Velasco Hurtado Main CFD Forum 3 January 7, 2000 16:51

All times are GMT -4. The time now is 09:18.

 Contact Us - CFD Online - Privacy Statement - Top