|
[Sponsors] |
July 19, 2009, 10:53 |
How to create points and field files?
|
#1 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Hello again.
Can somebody tell me how I can manage to create points files and field files? I looked through the sample tool, which can create foamFile outputs, but I haven't found the corresponding code. What I want to do, is to
Code:
surfaceScalarField ps = fvc::interpolate(p); for (label k=0; k<facesSet.size(); k++) { int faceNumber = faces[k]; Info<< "Entry " << k << " equals "<< ps[faceNumber]<< endl; }; Does anybody know, how this can be done?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
Tags |
fields, points, sample |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TimeVaryingMappedFixedValue best practice to extract subset points and fields | podallaire | OpenFOAM Running, Solving & CFD | 6 | May 21, 2014 10:25 |
Field interpolation in mesh points code | jzlam | OpenFOAM Post-Processing | 2 | December 14, 2010 16:48 |
Morphing deforming surface mesh depend on some sensitivity field | sponiar | OpenFOAM Running, Solving & CFD | 3 | August 12, 2008 13:32 |
Different dimensions for FATAL ERROR | retech | OpenFOAM Running, Solving & CFD | 2 | August 14, 2007 10:17 |
Parallel LES computation stops with reason | vvqf | OpenFOAM Running, Solving & CFD | 4 | March 6, 2006 07:55 |