|
[Sponsors] |
how to initialize pressure field with known value |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 18, 2018, 09:18 |
how to initialize pressure field with known value
|
#1 |
New Member
Tanakorn
Join Date: Oct 2017
Posts: 2
Rep Power: 0 |
Hi everone,
I'm simulating compressible flow past cylinder but it has some issue with wave reflection at the boundary (https://ibb.co/nuL7CK) so I want to initialize my initial pressure filed with pressure mean value from my old simulation (https://ibb.co/kLXnCK). I simply tried replacing p file in directory 0/p with my p mean file but result is still not want I want (https://ibb.co/nPQAzz). How do I fix that? And is there any boundary condition that can absorb wave at inlet? Here's link to my files pmean(https://we.tl/t-11sqSoCI4D), p in directory 0 (https://we.tl/t-mVtP4pOpNp) Thanks a lot, Tanakorn |
|
September 18, 2018, 15:37 |
|
#2 |
Senior Member
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17 |
Hello!
I think you are searching the mapFields utility! https://openfoam.org/release/2-3-0/pre-processing/ A good example could be found here: OF6.0--> /tutorials/incompressible/pimpleFoam/RAS/wingMotion/ Regards Peter |
|
September 18, 2018, 19:35 |
Copy and mapFields
|
#3 |
Member
Peter Brady
Join Date: Apr 2014
Location: Sydney, NSW, Australia
Posts: 54
Rep Power: 12 |
Hi Tanakorn,
As Peter Hess has already mentioned mapFields is probably your best bet here. I regularly also use the copy method you first tried when I'm starting up cavitation simulations but the caveat is that your grids must be identical and the physics the same. Even then there can be some start up errors that take a few iterative cycles to dissipate. So for my cavitation simulations my workflow is:
-pete |
|
September 19, 2018, 04:52 |
|
#4 |
New Member
Tanakorn
Join Date: Oct 2017
Posts: 2
Rep Power: 0 |
Thanks for replying guys! I'll look forward to it.
Tanakorn |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Another discussion on velocity-pressure coupling | toodles | Main CFD Forum | 16 | January 6, 2018 15:45 |
Ocean pressure field problem | luisao | FLUENT | 1 | May 11, 2017 11:20 |
Incompressible Flow: Retrieving Pressure from Velocity Field | lordvon | Main CFD Forum | 9 | July 6, 2013 12:24 |
Defining pressure field function | aniramzee | STAR-CCM+ | 0 | March 12, 2013 11:41 |
Pressure field in atmosphere | Luc3er | FLUENT | 0 | November 9, 2009 08:07 |