CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Convective Boundary Condition (https://www.cfd-online.com/Forums/openfoam-solving/179357-convective-boundary-condition.html)

Tempest October 28, 2016 07:45

Convective Boundary Condition
 
Dear Foamers,

I am solving a porous media problem in OF. I wish to apply CBC at the outlet of my domain. How to do that?
Should I write custom boundary? Any related tutorial?

fumiya October 28, 2016 21:23

Hi,

There are two boundary conditions in OpenFOAM:
  • advective
  • wavetransmissive

I hope my blog post will be of help:
http://caefn.com/2016/07/24/non_refl..._bcs_openfoam/

Best regards,
Fumiya

Tempest October 28, 2016 22:07

Thank you for your helpful response.

Tempest October 28, 2016 22:11

Quote:

Originally Posted by fumiya (Post 623376)
Hi,

There are two boundary conditions in OpenFOAM:
  • advective
  • wavetransmissive

I hope my blog post will be of help:
http://caefn.com/2016/07/24/non_refl..._bcs_openfoam/

Best regards,
Fumiya

When I apply advective condition at the outlet of my domain I get the following error:

--> FOAM FATAL ERROR:
steadyState
on patch outlet of field U in file "/home/anirudh/OpenFOAM/anirudh-4.1/run/CASE_DONT_DEL/RE30/DA6/0/U"

From function void Foam::advectiveFvPatchField<Type>::updateCoeffs() [with Type = Foam::Vector<double>]
in file fields/fvPatchFields/derived/advective/advectiveFvPatchField.C at line 324.

FOAM exiting

fumiya October 29, 2016 08:59

Hi,

The advective boundary condition only supports transient simulations.

Best regards,
Fumiya

Tempest October 29, 2016 09:14

Quote:

Originally Posted by fumiya (Post 623399)
Hi,

The advective boundary condition only supports transient simulations.

Best regards,
Fumiya

Yes. I understood that when I further looked into it. But there are recent upgrades which also support steady state simulations. Although since my outlet was located at distant downstream, the outlet BC is not affecting my results much.

Thanks for the help though.

Peace!


All times are GMT -4. The time now is 13:25.