|
[Sponsors] |
September 13, 2020, 17:56 |
velocity profiles in sonicLiquidFoam
|
#1 |
New Member
Join Date: Aug 2019
Posts: 19
Rep Power: 7 |
Dear foamers,
I'm trying to simulate a laminar flow (water) in a cylindrical shape using sonicLiquidFoam, the main problem is that the velocity profile is very different from what Hagen-Poiseuille expected. How can I correct this? Comparing the results with rhoPimpleFoam, where the velocity profiles are correct, what is the main difference in the solver, and why this is happening? Thanks in advance!! |
|
September 14, 2020, 06:53 |
|
#2 |
Senior Member
Join Date: Oct 2017
Posts: 131
Rep Power: 9 |
Hi Didu
sonicLiquidFoam is a "[t]ransient solver for trans-sonic/supersonic, laminar flow of a compressible liquid" (source: OpenFOAM v6 User Guide: 3.5 Standard solvers). Is your flow trans-sonic/supersonic? Note: In the Foundation version sonicFoam, sonicDyMFoam, sonicLiquidFoam were merged into rhoPimpleFoam [ commit 3341f9 ]. Kind regards Krapf |
|
September 14, 2020, 07:21 |
|
#3 |
New Member
Join Date: Aug 2019
Posts: 19
Rep Power: 7 |
Hi Krapf,
Thank you for your response. The flow that I'm dealing is not trans-sonic or supersonic. It is a flow in a pipe with very low velocities, the Reynolds numbers range from 1 to 400 (laminar). The main issue is that sonicLiquidFoam uses the barotropic relationship (I believe that it the only one), considering the bulk modulus (K) which is ideal to setup the pressure wave celerity, in my case (pipes). Kind regards, Didu |
|
September 14, 2020, 07:44 |
|
#4 |
Senior Member
Join Date: Oct 2017
Posts: 131
Rep Power: 9 |
Maybe it's possible to use the barotropic relationship in rhoPimpleFoam (Foundation version 7 or 8) without setting "transonic yes;" in the PIMPLE sub-dictionary of fvSolution?
|
|
October 9, 2020, 10:02 |
|
#5 |
New Member
Join Date: Aug 2019
Posts: 19
Rep Power: 7 |
Thanks for your answer, I'm sure this is the solution, did anyone try to add the barotropic relationship to the rhoPimpleFoam solver?
|
|
Tags |
laminar, sonicliquidfoam, velocity profiles |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Matching the velocity profiles of two faces | Shoh | Fluent UDF and Scheme Programming | 7 | August 4, 2020 01:58 |
kindly help me .. i have and error at line number 147.. | m zubair | Fluent UDF and Scheme Programming | 0 | February 10, 2019 12:25 |
[OpenFOAM] How to Display multiple Velocity Profiles? | ocin199 | ParaView | 2 | May 17, 2017 04:47 |
User Defined Profiles, Swirl, Velocity Inlet | saurus | FLUENT | 0 | January 26, 2011 16:35 |
Velocity Profiles | Sal | FLUENT | 3 | August 2, 2007 10:06 |