CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Compiling personal BC (https://www.cfd-online.com/Forums/openfoam/75508-compiling-personal-bc.html)

fsalvucci April 27, 2010 17:10

Compiling personal BC
 
Hello Everyone!
I have this problem. I needed to programme a parabolic velocity profile boundary condition for a simulation. So , what i did, in my personal folder, in the scr/finiteVolume/fields/fvPatchFields/derived dir, i copied the surfaceNormalFixedValue folder and edited teh name, the .H and .C files to do what i wanted. So, what i do not know how to do is to compile it so the .dep file is created and i can use it in my 0/U file as:

inlet
{
type parabolicVelocity;
value ......
....
}

Any help?
Thanks a lot!!!

Fernando


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