CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Addition of Boundary Condition (http://www.cfd-online.com/Forums/openfoam/60689-addition-boundary-condition.html)

ubaid March 9, 2009 09:09

Dear Friends, I am just new
 
Dear Friends,

I am just new to this software, Actually, I am interested to add new boundary conditions. I am having trouble to add new boundary conditions.

The file in which I am interested to add the boundry condition is placed in the following folder.

src/finiteVolum/fileds/fvPatchFields/derived/oscillatingFixedValue

i want to introude angle in these files.

Actually the file oscillatingFixedValueFvPatch.C returns 1+amp*sin(2*pi*f*t)

but i am interested that it would return.
1+amp*sin(2*pi*f*t+angle).

Can anyone help me out how could i proceed it?

marico March 9, 2009 10:39

Hi, maybe try groovyBC. (ca
 
Hi,

maybe try groovyBC. (can be found on OpenFOAM-Wiki and lets you define BC's over expressions, so probably you don't have to create several own new Conditions...)

Marco


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