|
[Sponsors] |
rotating pressure inlet static mesh simpleFOAM |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 26, 2020, 16:23 |
rotating pressure inlet static mesh simpleFOAM
|
#1 | ||||
New Member
Christophe
Join Date: May 2020
Posts: 7
Rep Power: 6 |
Hi all,
I am fairly new to openFOAM and having difficulties with a simulation: the domain is mostly cylindrical surrounding a cutout (defining channels like a volute and a couple pitot tubes), the outer boundaries of the domain are rotating walls ("walls-rotating") while the cutout is static walls ("walls-static"), the mesh is a single zone so I cannot really use a multiple reference frame approach. Linked to the static cutout and channels are two static outlets ("outlet" and "outlet-pitots"), while at the bottom of the domain and toward the outer diameter is a circular band where I want a rotating pressure inlet ("inlet") where the pressure controls the inflow but whatever enters does so at a specific rotation speed. I am using BlueCFD-core 2017-2 (based on openFOAM v5), the simpleFOAM solver (steady-state simulation), and getting the following error: Quote:
Here are the corresponding lines in the 0/U file: Quote:
And the pressure condition in the 0/p file: Quote:
I also tried a different 0/U inlet condition that allowed to run but resulted in no inlet flow despite the pressure condition (instead the simulation seemed to treat "inlet" like a rotating wall and my fluids were entering the domain through "outlet-pitots" and exiting through "outlet"): Quote:
What am I missing/doing wrong? |
|||||
May 26, 2020, 16:44 |
Add a value field inside the boundary definition
|
#2 |
Senior Member
Carlos Rubio Abujas
Join Date: Jan 2018
Location: Spain
Posts: 127
Rep Power: 11 |
The crucial part of the error message if here.
Code:
--> FOAM FATAL IO ERROR: keyword value is undefined in dictionary "C:/Users/Chris/Desktop/SVR-GTI/0/U.boundaryField.inlet" ... Try adding something like this: Code:
inlet { type rotatingPressureInletOutletVelocity; tangentialVelocity uniform (0.0 0.0 0.0); omega constant 297.72; value uniform(0 0 0); } Hope it helps! |
|
May 26, 2020, 17:00 |
Thanks... new error messeage... maybe solved.
|
#3 | |
New Member
Christophe
Join Date: May 2020
Posts: 7
Rep Power: 6 |
Thanks a lot Carlos, I had looked into the source files and they were not calling for a "value" field, that's what threw me off.
I added the value field and it helped but I got another error message: Quote:
I gathered the "omega" was not expecting a scalar rotation speed, but rather a vector... I gave a try to "uniform (0 0 297.72)" and it seems to work (simulation running, we'll see if it does what I want it to). |
||
May 26, 2020, 17:15 |
Solved.
|
#4 |
New Member
Christophe
Join Date: May 2020
Posts: 7
Rep Power: 6 |
I had to add a negative sign to my omega as it was spinning the wrong way, but otherwise it appears to be running just as intended.
Thanks again Carlos. |
|
May 27, 2020, 03:30 |
You're welcome
|
#5 |
Senior Member
Carlos Rubio Abujas
Join Date: Jan 2018
Location: Spain
Posts: 127
Rep Power: 11 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Axial flow fan incorrect pressure rise | yambanshee | OpenFOAM Running, Solving & CFD | 2 | June 25, 2020 15:05 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
Assign static pressure at inlet | Tanjina | FLUENT | 0 | November 3, 2013 12:34 |
Pulsatile pressure inlet with pressure outlet | a.lynchy | FLUENT | 3 | March 23, 2012 14:45 |
Setting static pressure as the inlet BC | ruined | FLUENT | 1 | March 21, 2008 15:57 |