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

How to implement a new boundary condition

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By superkelle
  • 1 Post By HPE

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 21, 2020, 13:26
Default How to implement a new boundary condition
  #1
Neb
Member
 
Join Date: Mar 2020
Posts: 66
Rep Power: 6
Neb is on a distinguished road
Hi everyone,
I need your help! I thank you in advance for spending your time. I am a new user of openFoam and I am not very experienced. I need to build a new BC on outlet pressure. The pressure that I must impose depends on the value of the outlet flow rate. Can you give me some indication of how to start? Or is there something similar already implemented?

Last edited by Neb; May 22, 2020 at 04:40.
Neb is offline   Reply With Quote

Old   May 22, 2020, 03:49
Default
  #2
Member
 
alexander thierfelder
Join Date: Dec 2019
Posts: 71
Rep Power: 6
superkelle is on a distinguished road
Hi I have some links for you:

A whole bunch of examples and a good start for OF programming, also BC:

http://www.tfd.chalmers.se/~hani/kurser/OS_CFD/

and

https://wiki.openfoam.com/index.php?...eeks%22_series

I also like the tutorials of wolfdynamic, there are some good examples for codeStream and the use in BC:

http://www.wolfdynamics.com/images/O...g/openfoam.pdf

http://www.wolfdynamics.com/tutorial...out=edit&id=50

Search also for forum post like:

Custom Boundary Condition with OpenFOAM

That is by no means complete, but a good start I think.
Neb likes this.
superkelle is offline   Reply With Quote

Old   May 22, 2020, 04:28
Default
  #3
Member
 
alexander thierfelder
Join Date: Dec 2019
Posts: 71
Rep Power: 6
superkelle is on a distinguished road
Oh and the standard BC:

https://www.openfoam.com/documentati...conditions.php
superkelle is offline   Reply With Quote

Old   May 22, 2020, 04:39
Default
  #4
Neb
Member
 
Join Date: Mar 2020
Posts: 66
Rep Power: 6
Neb is on a distinguished road
Thanks Superkelle, you have been very kind! this is so much material!

S.
Neb is offline   Reply With Quote

Old   May 22, 2020, 05:36
Default
  #5
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
HPE is on a distinguished road
Hi,

Some of the links below may also help.

Good luck!
Neb likes this.
HPE is offline   Reply With Quote

Old   May 22, 2020, 06:17
Default
  #6
Neb
Member
 
Join Date: Mar 2020
Posts: 66
Rep Power: 6
Neb is on a distinguished road
Thanks HPE, you are very kind!
Neb is offline   Reply With Quote

Reply

Tags
flow rate, new bc, outlet, pressure


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
Out File does not show Imbalance in % Mmaragann CFX 5 January 20, 2017 11:20
Divergence after implement nonreflecting boundary condition fireflies Main CFD Forum 0 October 23, 2014 11:16
How to implement heat flux boundary condition as function of time baran_foam OpenFOAM Running, Solving & CFD 3 September 15, 2014 01:28
Radiation interface hinca CFX 15 January 26, 2014 18:11
External Radiation Boundary Condition (Two sided wall), Grid Interface CFD XUE FLUENT 0 July 8, 2010 07:49


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