|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Mustafa
Join Date: Jun 2015
Location: Aachen
Posts: 26
Rep Power: 11 ![]() |
Hey Foamers,
I was testing out the rhoPimpleFoam solver and I made a simple wind tunnel box. I'm curious why the solution diverges, and the residuals oscillate wildly. The problem is severe for lower velocities. The oscillation stops when I set the initial U to 1, but the pressure residual is very high. I can reason with that because compressible solvers probably don't do so well at lower Ma values (well, what I do know for sure is that they are slower, I'm not sure if they are unstable too). Velocity Code:
Uinlet (100 0 0); dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { left { type fixedValue; value uniform $Uinlet; } right { type inletOutlet; inletValue uniform (0 0 0); value uniform (10 0 0); } bottom { type fixedValue; value uniform (0 0 0); } top { type fixedValue; value uniform (0 0 0); } back { type symmetryPlane; } front { type symmetryPlane; } #includeEtc "caseDicts/setConstraintTypes" } Pressure Code:
dimensions [1 -1 -2 0 0 0 0]; internalField uniform 1e5; boundaryField { left { type zeroGradient; } right { type fixedValue; value $internalField; } bottom { type zeroGradient; } top { type zeroGradient; } back { type symmetryPlane; } front { type symmetryPlane; } #includeEtc "caseDicts/setConstraintTypes" } Are there any errors that are obvious? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Henrik Johansson
Join Date: Oct 2017
Location: Gothenburg
Posts: 38
Rep Power: 8 ![]() |
Hi Mustafa,
For your velocity outlet you could try the pressureInletOutletVelocity B.C. Why have you set the inital value of your outlet to (10 0 0)? Should it not be (0 0 0)? What schemes are you using?
__________________
/ Henrik Johansson |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why wind tunnel experiment and CFD domain are different? | misospider | OpenFOAM | 1 | February 6, 2017 04:31 |
Wind Tunnel boundary conditions | kebsiali | OpenFOAM Running, Solving & CFD | 0 | August 15, 2016 07:08 |
Matching CFD results and wind tunnel testing | huskerwong | Main CFD Forum | 0 | July 16, 2009 14:24 |
Wind Tunnel Website now online | Mike Worthey | Main CFD Forum | 0 | June 6, 2000 02:27 |
wind tunnel correction | Arthur Chen | Main CFD Forum | 2 | September 4, 1998 18:42 |