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

Position of a point in dynamic mesh

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 2, 2016, 07:27
Default Position of a point in dynamic mesh
  #1
New Member
 
Pepito el caja
Join Date: Jun 2016
Posts: 1
Rep Power: 0
Caiman is on a distinguished road
Hi, I have made a simulation of a cylinder whit vortex that induces vibration, I need the data of the position of the cylinder (only move on Y axes) on every time step. How can I get this data??
Caiman is offline   Reply With Quote

Old   June 3, 2016, 14:39
Default
  #2
New Member
 
Lorena Fernández Fernández
Join Date: May 2016
Location: Spain
Posts: 21
Rep Power: 9
Lorena2fdez is on a distinguished road
Hi

I think that it's not exactly the solution that you are looking for, but maybe help you to find them.

You can try to use the comand "writeCellCentres". With this you obtain 3 fields with the coordinates of the centres of the cells, for the X coordinate, ccx, for the Y coordinate, ccy... for any time that you have.

Later If you have a zone (INLET for my example) whose cells was moving, you can write at the final of the archive ControlDict the code:

Code:
minmaxdomain_ccy
{
    type fieldMinMax;

    functionObjectLibs ("libfieldFunctionObjects.so");

    enabled true;

    mode component;

    outputControl timeStep;
    outputInterval 1;

    log true;

    fields (ccy);
}
And execute the comand "execFlowFunctionObjects" for obtain in a file postProcessing another file minmaxdomain_ccy with an archive with values of time, the minimum and maximum of the position Y of the cells in INLET (with their other coordinates).

Best regards,
Lorena
Lorena2fdez is offline   Reply With Quote

Reply

Tags
cylinder pimpledymfoam

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
snappyhexmesh remove blockmesh geometry philipp1 OpenFOAM Running, Solving & CFD 2 December 12, 2014 11:58
[snappyHexMesh] snappyHexMesh and cyclic boundaries Ruli OpenFOAM Meshing & Mesh Conversion 2 December 9, 2013 07:51
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


All times are GMT -4. The time now is 07:17.