CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

Reading/exporting faceSource data

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 15, 2011, 07:28
Default Reading/exporting faceSource data
  #1
New Member
 
Roger Almenar
Join Date: Feb 2011
Posts: 4
Rep Power: 6
rogeralmenar is on a distinguished road
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.
rogeralmenar is offline   Reply With Quote

Old   February 21, 2011, 10:59
Default
  #2
New Member
 
Dominic
Join Date: Jan 2011
Location: Leeds, UK
Posts: 25
Rep Power: 6
351Cleveland is on a distinguished road
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.
351Cleveland is offline   Reply With Quote

Old   February 25, 2011, 12:00
Default
  #3
New Member
 
Roger Almenar
Join Date: Feb 2011
Posts: 4
Rep Power: 6
rogeralmenar is on a distinguished road
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.
rogeralmenar is offline   Reply With Quote

Old   March 3, 2011, 19:55
Default help me
  #4
ksv
New Member
 
ksv
Join Date: Feb 2011
Posts: 13
Rep Power: 6
ksv is on a distinguished road
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
ksv is offline   Reply With Quote

Old   March 14, 2011, 09:40
Default
  #5
New Member
 
Roger Almenar
Join Date: Feb 2011
Posts: 4
Rep Power: 6
rogeralmenar is on a distinguished road
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;
}
);
}
}
rogeralmenar is offline   Reply With Quote

Old   March 14, 2011, 09:42
Default
  #6
New Member
 
Roger Almenar
Join Date: Feb 2011
Posts: 4
Rep Power: 6
rogeralmenar is on a distinguished road
It seems the tabs are been deleted in previous post. Sorry about that.
rogeralmenar is offline   Reply With Quote

Old   March 14, 2011, 19:43
Default Thanks Roger !
  #7
ksv
New Member
 
ksv
Join Date: Feb 2011
Posts: 13
Rep Power: 6
ksv is on a distinguished road
Hi Roger,

Thanks for your advice.

Regards
ksv
ksv is offline   Reply With Quote

Reply

Tags
export, facesource

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
【Help】"Error: Update_Time_Level: invalid data" Chen FLUENT 2 August 24, 2014 07:51
export data at nodes Meenu FLUENT 1 December 30, 2011 02:24
Cell Data to Point Data Issues mcintoshjamie OpenFOAM Paraview & paraFoam 2 November 19, 2009 04:55
Saving particle (DPM) data to file? Philip FLUENT 2 June 12, 2006 01:41
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27


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