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

Difficulty understanding differences between primitive and derived boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 10, 2016, 16:42
Default Difficulty understanding differences between primitive and derived boundary condition
  #1
Member
 
Milad Setareh
Join Date: Oct 2012
Location: Tehran, Iran
Posts: 35
Rep Power: 14
milad653279 is on a distinguished road
Hi

I have very problem with boundary condition in openfoam. I think they are very confusing. I cant' understand difference between primitive and derived Bc. in openfoam!!!?? when I must use primitive Bc and when use derived ones?!!

also, I need to write a new boundary condition, but I don't know to use it, can anyone help me? it seems that I must compile it first but don't know to compile a new code. plz help me.
Thank you.
milad653279 is offline   Reply With Quote

Old   January 12, 2016, 07:13
Default
  #2
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Tampa, US
Posts: 308
Rep Power: 16
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
Quote:
Originally Posted by milad653279 View Post
Hi

I have very problem with boundary condition in openfoam. I think they are very confusing. I cant' understand difference between primitive and derived Bc. in openfoam!!!?? when I must use primitive Bc and when use derived ones?!!

also, I need to write a new boundary condition, but I don't know to use it, can anyone help me? it seems that I must compile it first but don't know to compile a new code. plz help me.
Thank you.
Well, the derived and primitive type BC's are defined in OpenFOAM's User's Guide. you may take a look at:

http://cfd.direct/openfoam/user-guide/boundaries/

You can easily write your own BC in OF, there are lots of threads out there discussing about this. It would be better to take a look at them first.

Long story short, after writing your code and setting up the options, you can compile your code using GCC, with:

wmake
__________________
Learn OpenFOAM in Persian
SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"
Mojtaba.a 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
Henry's law as boundary condition at an liquid/gas interface Cyp OpenFOAM 6 April 23, 2018 05:11
boundary condition in openfoam milad653279 OpenFOAM Running, Solving & CFD 0 December 28, 2015 17:05
questions about boundary condition type of openfoam 2.2.0 shuoxue OpenFOAM Pre-Processing 3 May 27, 2013 02:47


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