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

Boundary condition again

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2005, 09:07
Default Hi, everyone. I have some q
  #1
Member
 
Efimenko Evgenii
Join Date: Mar 2009
Location: Nizhnij Novgorod, Russia
Posts: 52
Rep Power: 17
evgenii is on a distinguished road
Hi, everyone.

I have some questions about boundary conditions.
1.Is it possible in boundary condition specify only 2 vector components? I mean, for example, E.x=0, E.y=0, E.z - has arbitrary value(there is no any conditions)
2. If I don't have any conditions can I write "calculated"? I've tried, but it didn't work. It returns error.
3. Can I specify boundary conditions in solver code?

Thank you
Eugene
evgenii is offline   Reply With Quote

Old   November 26, 2005, 09:40
Default 1 The (x y z) decomposition do
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
hjasak will become famous soon enough
1 The (x y z) decomposition does not make sense to me - you probably mean "normal to the boundary" and "tangential to it" when you think about it a bit more. There is a directionMidex b.c. and a more general form which allows you to have a separate mixed b.c. on each component (normal and tangential)

2 "Don't have any conditions" in the FVM probably means zeroGradient. Try that. "calculated" is for special cases, where the code genuinely does not know the b.c., e.g. when it's doing fv calculus: consider the b.c. on div(U) :-)

3. Yes and no. If you build teh field completely in the code, you can give it a list of b.c.-s, but hooking them up and setting parameters in most cases requires casting. If you read the field from a file, and you know what the b.c. is, you can cast it in the code and mess about with it.

Enjoy,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   November 26, 2005, 10:04
Default Yes, I really mean that tangen
  #3
Member
 
Efimenko Evgenii
Join Date: Mar 2009
Location: Nizhnij Novgorod, Russia
Posts: 52
Rep Power: 17
evgenii is on a distinguished road
Yes, I really mean that tangential component is equal 0, and normal component doesn't have any conditions.

Yes, probably "zeroGradient" is something I need.

Thanks a lot, it's very useful fo me
evgenii 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
Boundary condition for UDS Tomik FLUENT 0 December 5, 2006 17:37
Boundary condition of the third kind or Danckwertz boundary condition plage OpenFOAM Running, Solving & CFD 4 October 3, 2006 12:21
Slip Boundary Condition for Moving Boundary Shukla Main CFD Forum 3 November 11, 2005 15:02
UDF boundary condition Jeff FLUENT 2 November 20, 2003 17:15
Boundary Condition in LES Zhang Tsiang Main CFD Forum 3 February 5, 2002 20:15


All times are GMT -4. The time now is 23:40.