rotating pressure inlet static mesh simpleFOAM
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? |
Add a value field inside the boundary definition
The crucial part of the error message if here.
Code:
--> FOAM FATAL IO ERROR: Try adding something like this: Code:
Hope it helps! |
Thanks... new error messeage... maybe solved.
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). |
Solved.
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. |
You're welcome
Quote:
Good luck and happy foaming ;) |
All times are GMT -4. The time now is 21:23. |