CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   laplacianFoam with time varying BC (https://www.cfd-online.com/Forums/openfoam-pre-processing/162618-laplacianfoam-time-varying-bc.html)

KHoy November 14, 2015 13:02

laplacianFoam with time varying BC
 
Hello

I am trying to set up a simple heat conduction run where I have a 2D-case (a plate) which has Temperature BC like
BC_locations
{
(x0 y0)
(x1 y1)

...
(xn yn)
}

and

BC_TempsOfTime
{
0 T(BC0) T(BC1).....T(BCn)
0.5 T(BC0) T(BC1).....T(BCn)
....

Endtime T(BC0) T(BC1).... T(BCn)

}
I have tried setting this up, but FOAM exits with error.

I would appreciate help with this setup if someone has already done a similar thing.

Thanks

K

AnasCFD November 15, 2015 13:57

You can do such things using the groovybc tool
https://openfoamwiki.net/index.php/Contrib/groovyBC
Regards

KHoy November 16, 2015 09:13

Thanks Anas,

I'll try this.

K


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