CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Openfoam, fan boundary Conditon

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By syntex

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 3, 2018, 08:44
Default Openfoam, fan boundary Conditon
  #1
Member
 
Christophk
Join Date: Oct 2018
Posts: 33
Rep Power: 7
syntex is on a distinguished road
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
syntex is offline   Reply With Quote

Old   November 6, 2018, 05:26
Default
  #2
Member
 
Christophk
Join Date: Oct 2018
Posts: 33
Rep Power: 7
syntex is on a distinguished road
Anyone any idea?
syntex is offline   Reply With Quote

Old   November 14, 2018, 12:16
Default
  #3
Senior Member
 
Join Date: Mar 2018
Posts: 115
Rep Power: 8
anon_q is on a distinguished road
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
anon_q is offline   Reply With Quote

Old   November 14, 2018, 12:51
Default
  #4
Senior Member
 
Join Date: Mar 2018
Posts: 115
Rep Power: 8
anon_q is on a distinguished road
Any progress?
anon_q is offline   Reply With Quote

Old   January 22, 2019, 10:03
Default
  #5
Member
 
Christophk
Join Date: Oct 2018
Posts: 33
Rep Power: 7
syntex is on a distinguished road
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.
syntex is offline   Reply With Quote

Old   March 29, 2019, 14:29
Default
  #6
New Member
 
Thiago Marinho
Join Date: Nov 2014
Posts: 8
Rep Power: 11
thiagomarinho is on a distinguished road
@syntex, could you please provide a reference for what worked for you?
thiagomarinho is offline   Reply With Quote

Old   March 29, 2019, 14:58
Default
  #7
Member
 
Christophk
Join Date: Oct 2018
Posts: 33
Rep Power: 7
syntex is on a distinguished road
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.
thiagomarinho likes this.
syntex is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 08:51
Centrifugal fan j0hnny CFX 13 October 1, 2019 13:55
My radial inflow turbine Abo Anas CFX 27 May 11, 2018 01:44
Domain Imbalance HMR CFX 5 October 10, 2016 05:57
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20


All times are GMT -4. The time now is 20:43.