|
[Sponsors] |
February 15, 2011, 07:28 |
Reading/exporting faceSource data
|
#1 |
New Member
Roger Almenar
Join Date: Feb 2011
Posts: 6
Rep Power: 15 |
Hi there,
I have run a transient case with v1.7.1, exporting wall-surface results with the function "faceSource" in the controlDict. This function created the surface results for every timestep under folder "processor0" (parallel run) without any problems. However, I can't find the way to export these results to other formats for check-up. I have 2 questions: 1) faceSource seems to export the data corresponding to all the processors under "processor0", not just the data corresponding to this processor. Is this correct? 2) I am not able to convert the surface data as it does not export any variables (foamToVTK, foamToEnsight). Not even exporting with the "global" constant folder (not the processor0/constant). Have you tried this in the past? Thanks. |
|
February 21, 2011, 10:59 |
|
#2 |
New Member
Dominic
Join Date: Jan 2011
Location: Leeds, UK
Posts: 25
Rep Power: 15 |
Hi Roger,
I'm new to openFoam but have just been experimenting with parallel runs myself. Could you reconstruct the case from its parallel components using reconstructPar, open with Paraview and then plot/select data on the face and export as a csv file? That should give you data that is at least able to be manipulated easily. Sorry if that wasn't much help. Dom. |
|
February 25, 2011, 12:00 |
|
#3 |
New Member
Roger Almenar
Join Date: Feb 2011
Posts: 6
Rep Power: 15 |
Hello Dom,
That is the thing, it seems to store all the faceSource data under processor0. If I check the number of lines for each file under processor0/timestepxyz, it shows the same lines as elements for those parts under constant/polyMesh. Hence I assume it is the complete data, not just the partitioned portion for processor0. What I am doing now is to export the data as surface from constrolDict, not as faceSource. This creates much bigger files due to the XYZ being saved for every timestep. I can't use it to convert to EnSight or VTK, but at least it is easy to handle directly. Thanks for the help anyway. |
|
March 3, 2011, 19:55 |
help me
|
#4 |
New Member
ksv
Join Date: Feb 2011
Posts: 16
Rep Power: 15 |
Hi Ronger,
I am new to OF. In my simulaiton I need to export force on a wall suface during every time step. I do not know as how to do this. As I understand that you have been successful in exporting wall-surface results, I would like to seek your help in this regard. Could you ellaborate as how to export wall-surface results ? or could you provide me with your ControlDict file so that I can learn from it. Thank you so much for your post in OF ksv |
|
March 14, 2011, 09:40 |
|
#5 |
New Member
Roger Almenar
Join Date: Feb 2011
Posts: 6
Rep Power: 15 |
Hello Ksv,
I know openFoam can export variable data at the walls, as well as Cd/Cl. I only know how to export variable data. you can do it adding following information to the controlDict, under functions{ functions { wallPressure { typesurfaces; functionObjectLibs ("libsampling.so"); outputControltimeStep; outputInterval 1; surfaceFormatraw; fields ( p ); surfaces ( part 1 { typepatch; patchNamepartname1; triangulate false; } … partN { typepatch; patchNamepartnameN; triangulate false; } ); } } |
|
March 14, 2011, 09:42 |
|
#6 |
New Member
Roger Almenar
Join Date: Feb 2011
Posts: 6
Rep Power: 15 |
It seems the tabs are been deleted in previous post. Sorry about that.
|
|
March 14, 2011, 19:43 |
Thanks Roger !
|
#7 |
New Member
ksv
Join Date: Feb 2011
Posts: 16
Rep Power: 15 |
Hi Roger,
Thanks for your advice. Regards ksv |
|
Tags |
export, facesource |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
【Help】"Error: Update_Time_Level: invalid data" | Chen | FLUENT | 2 | August 24, 2014 08:51 |
export data at nodes | Meenu | FLUENT | 1 | December 30, 2011 02:24 |
[OpenFOAM] Cell Data to Point Data Issues | mcintoshjamie | ParaView | 2 | November 19, 2009 04:55 |
Saving particle (DPM) data to file? | Philip | FLUENT | 2 | June 12, 2006 02:41 |
How to update polyPatchbs localPoints | liu | OpenFOAM Running, Solving & CFD | 6 | December 30, 2005 18:27 |