CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

fvOption - pressureGradient

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   October 18, 2018, 21:39
Default fvOption - pressureGradient
Senior Member
Join Date: Apr 2017
Posts: 231
Rep Power: 10
gu1 is on a distinguished road

I'm doing a cyclic domain simulation. I'm using OpenFOAM version 5.0 and I'm not sure how to generate a pressure gradient in my domain.

I know the fvOption tool and it has worked BUT I believe it has not been very efficient. My results in LES are not very interesting when compared to what I get in Fluent and I'm '' giving '' credits to fvOption.

type meanVelocityForce;

selectionMode all;

fields (U);
Ubar (0 0 1.472222222);
relaxation 1.0;
I did some tests varying the term of relaxation described above... but, they were not as I expected.
I do not know if I made the best possible configurations for my case, but this 'meanVelocityForce' is the only option for this version of OF.

Would it be interesting for me to compile the 'pressureGradientExplicitSource' used in previous versions?
Is there any option for swak4Foam? I tried using 'vectorFixedValueConstraint' ... but apparently the newer versions of this tool do not have this option.

Is there any way I can set the value of my pressure gradient, similar to the way I do in Fluent? There my gradient are dp/dz = -36.
Can I do this in swak4Foam?

I have attached some of my results ... my goal is to approximate the curves obtained in Fluent (in both software is using the same mesh).

Attached Images
File Type: png RMS_z.png (42.0 KB, 25 views)
File Type: png RMS_x.png (39.5 KB, 22 views)
File Type: png RMS_y.png (37.1 KB, 18 views)
gu1 is offline   Reply With Quote


cyclic bc, fvoption, pressure gradient, swak4foam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[swak4Foam] swak4foam for fe40: fvOption library don't compile? jf_vt OpenFOAM Community Contributions 7 August 10, 2023 03:00
reactingFoam fvOption ignition khalifa OpenFOAM Programming & Development 8 January 6, 2019 18:45
fvOption interpolation scheme aghsin OpenFOAM Running, Solving & CFD 0 June 25, 2016 09:01
presGradient in fvOption bargiola OpenFOAM Running, Solving & CFD 0 May 25, 2015 04:39
pressureGradient dictionary dav.dap83 OpenFOAM Pre-Processing 5 January 11, 2015 17:48

All times are GMT -4. The time now is 01:34.