|
[Sponsors] |
October 11, 2009, 19:33 |
saving data on a surface during calculation
|
#1 | |
Member
vishwanath somashekar
Join Date: Apr 2009
Posts: 41
Rep Power: 17 |
Hi,
I would like to do something along the lines of probe as described in pitzdaily tutorial. However, I would like to save the data along a surface and not at certains coordinates. I modified the controlDict as shown below and am getting an error Quote:
Code:
functions { probes1 { type probes; functionObjectLibs ("libsampling.so"); enabled true; outputControl timeStep; outputInterval 1; probeLocations ( midplane { type plane; basePoint (0 -0.086 0.00046); normalVector(0 0 1); } ); fields ( p ); } } Regards, Vishwa |
||
October 11, 2009, 21:02 |
|
#2 | |
Member
vishwanath somashekar
Join Date: Apr 2009
Posts: 41
Rep Power: 17 |
After digging a little bit further, i found this link
http://www.cfd-online.com/Forums/ope...ionobject.html and changed the controlDict accordingly.. It now reads Code:
functions { probes1 { type surfaces; functionObjectLibs ("libsampling.so"); //enabled true; outputControl timeStep; outputInterval 1; surfaceFormat raw; interpolationScheme cellPointFace; fields ( U ); surfaces ( midplane { type plane; basePoint (0 -0.086 0.00046); normalVector(0 0 1); } ); } Quote:
Regards, Vishwa |
||
October 12, 2009, 10:36 |
|
#3 |
Member
vishwanath somashekar
Join Date: Apr 2009
Posts: 41
Rep Power: 17 |
playing further with the surfaces, I found in one of the tutorials which uses surfaces in the controlDict (sloshingtank2d3d0F), here they use a patch and not a plane. I changed it to patch in my controlDict file and the code starts to run. But, I would like to save the data on the midplane,which hasn't been defined in the boundary in the constant folder. I need this so that I can make a movie of the vector fields. I am pretty new to Openfoam and still learning the ropes.
Any suggestions please... Best regards, Vishwa |
|
October 12, 2009, 14:10 |
|
#4 |
Member
vishwanath somashekar
Join Date: Apr 2009
Posts: 41
Rep Power: 17 |
finally figured it out....
I had typed normalVector(0 0 1) ..there should have been a space between normalVector and paranthesis...normalVector (0 0 1) Regards, Vishwa |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Stopping a Fluent batch job AND saving the data! Possible? | Volker Pawlik | FLUENT | 13 | December 28, 2020 04:16 |
saving monitoring data | mange | FLUENT | 2 | March 3, 2009 05:54 |
Saving data file during paralell calculation | mneo | FLUENT | 3 | February 6, 2006 04:05 |
Saving graph register data into a file | Julie Polyakh | Siemens | 1 | January 27, 2003 21:35 |
Saving vertex data | Julie Polyakh | Siemens | 1 | November 18, 2002 02:12 |