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/)
-   -   Imorrting boundary profile from csv (https://www.cfd-online.com/Forums/openfoam-pre-processing/105098-imorrting-boundary-profile-csv.html)

janis.kl July 23, 2012 05:33

Imorrting boundary profile from csv
 
Hi...

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?

Janis

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

Ok...

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

Janis


All times are GMT -4. The time now is 15:45.