CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Pre-Processing (
-   -   Imorrting boundary profile from csv (

janis.kl July 23, 2012 05:33

Imorrting boundary profile from csv

I am quite new to OpenFoam so it might be a easy question. I have a csv which contains experimental data. I have coordinates and temperature values I have to apply it as a nonuniform boundary condition on a wall.. how could I do that?


Bernhard July 23, 2012 07:16

Basically there are two options

1. Provide an non-uniform list of values as the boundary condition. This values should be interpolated from your csv file to the mesh

2. Fit a function through your data, and apply the function as a boundary condition based on coordinate, using a groovyBC or codedFixedValue boundary condition.

janis.kl July 23, 2012 07:44


but is there an utility that can interpolate my data? or I have to write it on my own. I have seen an utility called interpolatexy but I need to interpolate xyz data


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