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

New pressure and velocity boundary condition derived from the mixedFvPatchField.C

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 14, 2014, 05:01
Default New pressure and velocity boundary condition derived from the mixedFvPatchField.C
  #1
New Member
 
zhanglei
Join Date: May 2013
Location: China
Posts: 19
Rep Power: 6
becklei is on a distinguished road
Hello, everyone
The attachment is my pressure BC(filterPA) and velocity BC(filterUA) derived from the mixed BC.Just like the inletoutlet BC, the both of the new BC finish defining the valueFraction().The valueFraction() of my BC is defined according to the alpha.
The different between filterPA and filterUA is when the valueFraction() of pressure(or velocity) BC is equal to 1, the valueFraction() of velocity(or pressure) BC is equal to 0. On one hand, when the prssure BC is the dirichlet type, the velocity BC is the Neumann type. The pressure on the patch with a fixedvalue(eg. 1e5) and the velocity on the same patch with a zerogradient can form a "outlet" on this patch.On the other hand, when the prssure BC is the Neumann type, the velocity BC is the dirichlet type. The pressure on the patch with a zerogradient and the velocity on the same patch with a fixedvalue(eg.(0 0 0)) can form a "no-slip BC" on this patch.
In the 0/p_rgh, the BC is defined like:
wall
{
type filterPA;
value uniform 1e5;
wallValue uniform 1e5;
}
In the 0/U, the BC is defined like:
wall
{
type filterUA;
value uniform (0 0 0);
wallValue uniform (0 0 0);
}
Maybe the train of thought of this two BC is a mistake or the somewhere of the code is wrong, I got a strange result shown as the picture which shows the velocity field near the patch when the patch is "outlet".
I donot know how to solve, any answer is welcome! thanks!
Attached Images
File Type: jpg u.jpg (72.2 KB, 10 views)
File Type: jpg ux.jpg (55.0 KB, 7 views)
File Type: jpg uy.jpg (87.0 KB, 7 views)
Attached Files
File Type: gz myBCs-zhanglei.tar.gz (9.4 KB, 3 views)
becklei is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wind turbine simulation Saturn CFX 45 February 8, 2016 05:42
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05


All times are GMT -4. The time now is 00:46.