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

set the pressure BC by a table

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2013, 13:11
Default set the pressure BC by a table
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
why totalPressure is set as this?
[CODEinlet
{
type uniformTotalPressure;
pressure table
(
(0 10)
(1 40)
);
p0 40; // only used for restarts
U U;
phi phi;
rho none;
psi none;
gamma 1;
value uniform 40;
}][/CODE]
in this link:
https://github.com/OpenFOAM/OpenFOAM.../TJunction/0/p
immortality is offline   Reply With Quote

Old   June 15, 2013, 22:42
Default
  #2
Member
 
shiv
Join Date: Jun 2012
Location: Lucknow, IN
Posts: 51
Rep Power: 13
shash is on a distinguished road
hi all,
I have the same doubt ??

Ehsan did u find the explanation for this?
shash is offline   Reply With Quote

Old   June 16, 2013, 05:03
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
Hi
no I don't know why it has selected 40 for p0 and value while it starts with 10.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   June 16, 2013, 09:03
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

It's a tutorial, which is giving some hints on how to use "p0".
The case is rather fast to run, so the idea is that the value "p0" is set to 40 because continuing the case will probably be after 1.0 s or 1.5s, at which point in time, it's already at 40, as indicated by the time table.
In other words, it's so quick to run, that it's more likely to stop after 1.0 s, than anything else.

Have a look at the "controlDict" to see what I mean.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

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
"Pressure Inlet" Boundary Setup Wijaya FLUENT 15 May 18, 2016 10:08
matching pressure drop with test set up sieginc. STAR-CCM+ 2 November 15, 2012 19:13
Env variable not set gruber2 OpenFOAM Installation 5 December 30, 2005 04:27
Pressure Inlet yields wrong velocities Ben FLUENT 0 November 21, 2004 01:47
Mass Flow Outlet Glenn Price FLUENT 4 May 30, 2000 14:02


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