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

foamLog reading a vector

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 15, 2010, 15:33
Default foamLog reading a vector
  #1
New Member
 
rubenparedes's Avatar
 
Ruben Paredes
Join Date: Mar 2009
Location: Guayaquil, Ecuador
Posts: 20
Rep Power: 17
rubenparedes is on a distinguished road
Send a message via MSN to rubenparedes
Hello,

I am writing in the log file the position and velocity of the center of gravity as a vector. I would like to know if there is a way to modify the foamLog script to read these values. I added some lines in the foamLog.db file

#- Center of mass
CG_Position/Centre of mass:/(

But the script is only reading the first component of the vector.

I am new to linux, any idea?

R.
rubenparedes is offline   Reply With Quote

Old   May 27, 2010, 15:43
Default
  #2
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17
podallaire is on a distinguished road
Hi !

Just wondering if you found the way to do that.

Regards,

PO
podallaire is offline   Reply With Quote

Old   May 27, 2010, 23:25
Default
  #3
New Member
 
rubenparedes's Avatar
 
Ruben Paredes
Join Date: Mar 2009
Location: Guayaquil, Ecuador
Posts: 20
Rep Power: 17
rubenparedes is on a distinguished road
Send a message via MSN to rubenparedes
I wrote a script that extracts CG position in log file and save it in a text file
__________________
R.
rubenparedes is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Commercial meshers] Problem converting fluent mesh vinz OpenFOAM Meshing & Mesh Conversion 28 October 12, 2015 06:37
[Commercial meshers] Converting a mesh with splitted cells using fluentMeshToFoam jlpelerin OpenFOAM Meshing & Mesh Conversion 4 April 25, 2011 16:56
problem when converting mesh (made by ICEM) using fluentMeshToFoam Forrest_Lei OpenFOAM 11 October 16, 2009 06:28
[Commercial meshers] TGridFluent mesh with internal by prism layer and internal face for diagnostic sponiar OpenFOAM Meshing & Mesh Conversion 2 March 30, 2009 15:02
[Commercial meshers] FluentMesh conversion problem waynezw0618 OpenFOAM Meshing & Mesh Conversion 12 November 30, 2006 23:12


All times are GMT -4. The time now is 18:05.