|
[Sponsors] |
November 3, 2018, 09:44 |
Openfoam, fan boundary Conditon
|
#1 |
Member
Christophk
Join Date: Oct 2018
Posts: 33
Rep Power: 8 |
Hello,
I'm pretty new to this stuff. I'm trying to make a v1.5 version to work in the current version of OpenFoam. I updated the boundaries, so I get a mesh. Now I try to make the simulation running. I use the kOmegaSST -model to do this. Im using inlet, outlet, walls, fan_half0 and fan_half1 to define boundaries. For walls for k, Omega, and nut I use: k: { type kqRWallFunction; value $internalField; } omega: { type omegaWallFunction; Cmu 0.09; kappa 0.41; E 9.8; value $internalField; } nut: { type nutkWallFunction; Cmu 0.09; kappa 0.41; E 9.8; value uniform 0; } The pressure jump is defined in p, I just tried to make the old version: fan { type fan; patchType cyclic; f List<scalar> 2 (10.0 -1.0); value uniform 0; } work for OpenFoam6. The simulation told me to use JumpTable, so the list doesn't exist anymore. I copied another definition for the jumpTable, which made the simulation working, but the pressure jump with the defined jumpTable was too high. Can I somehow "translate" this list f into a jumpTable, which does the same? In the example the pressure jumps from -6.3 bar to 0.5 bar after descending from -5.8 bar. In my simulation w8i9th the copied jumpTable the pressure jumps from -37 bar to 5 bar after descending from -35 bar. I figured the jumpTable defines the developement of the pressure here, Am I correct? Regarding readability, I'm sry if the text is hard to read, due to me using the code in fluent text, but I didn't find the option, where u can set the code off, which other people use |
|
November 6, 2018, 06:26 |
|
#2 |
Member
Christophk
Join Date: Oct 2018
Posts: 33
Rep Power: 8 |
Anyone any idea?
|
|
November 14, 2018, 13:16 |
|
#3 |
Senior Member
Join Date: Mar 2018
Posts: 115
Rep Power: 8 |
I don't really understand your questions,
Take a look at this pages: 1) https://www.openfoam.com/documentati...-jump-fan.html Example usage: pimpleFoam TJunctionFan tutorial: $FOAM_TUTORIALS/incompressible/pimpleFoam/RAS/TJunctionFan |
|
November 14, 2018, 13:51 |
|
#4 |
Senior Member
Join Date: Mar 2018
Posts: 115
Rep Power: 8 |
Any progress?
|
|
January 22, 2019, 11:03 |
|
#5 |
Member
Christophk
Join Date: Oct 2018
Posts: 33
Rep Power: 8 |
I am sorry for not replying.
I made progress in taking another version of an implementation of an actuator disc, which matched my recent version of OpenFoam 5.0. This versiuon uses the class rotorDisc, which calculates volumeForces and adds them to the flow. I didn't try any further simulations with jumpTable. |
|
March 29, 2019, 15:29 |
|
#6 |
New Member
Thiago Marinho
Join Date: Nov 2014
Posts: 8
Rep Power: 12 |
@syntex, could you please provide a reference for what worked for you?
|
|
March 29, 2019, 15:58 |
|
#7 |
Member
Christophk
Join Date: Oct 2018
Posts: 33
Rep Power: 8 |
I used the class rotorDiskSoure stored inside fvOptions, this class adds force to the flux, and I manipulated the way the force was added for my simulation.
You need to define a fvOptionsFile inside the system folder to set some parameters which the rotorDisc class uses. Have a look at the class, then you my be able to make sence of what to do. rotorDiscSourceTemplates.c is the file, where the forces are calculated. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM course for beginners | Jibran | OpenFOAM Announcements from Other Sources | 2 | November 4, 2019 09:51 |
Centrifugal fan | j0hnny | CFX | 13 | October 1, 2019 14:55 |
My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 02:44 |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 06:57 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |