CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

fvOption - pressureGradient

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 18, 2018, 22:39
Default fvOption - pressureGradient
  #1
gu1
Senior Member
 
Guilherme
Join Date: Apr 2017
Posts: 180
Rep Power: 5
gu1 is on a distinguished road
Hi,

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.

Quote:
momentumSource
{
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).

Thanks
Attached Images
File Type: png RMS_z.png (42.0 KB, 14 views)
File Type: png RMS_x.png (39.5 KB, 11 views)
File Type: png RMS_y.png (37.1 KB, 9 views)
gu1 is offline   Reply With Quote

Reply

Tags
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 5 September 3, 2019 19:11
reactingFoam fvOption ignition khalifa OpenFOAM Programming & Development 8 January 6, 2019 19:45
fvOption interpolation scheme aghsin OpenFOAM Running, Solving & CFD 0 June 25, 2016 10:01
presGradient in fvOption bargiola OpenFOAM Running, Solving & CFD 0 May 25, 2015 05:39
pressureGradient dictionary dav.dap83 OpenFOAM Pre-Processing 5 January 11, 2015 18:48


All times are GMT -4. The time now is 04:06.