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

calcFvcGrad output time control

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By fabian_roesler

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2016, 23:00
Default calcFvcGrad output time control
  #1
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17
Elham is on a distinguished road
Hi,

I want to have gradient of velocity field in each 0.1 sec. I am using calcFvcGrad tool in the controlDict. But it is written in every time step. How can I specify my own time step for writing gradient?

Thanks
Elham is offline   Reply With Quote

Old   February 29, 2016, 08:33
Default
  #2
Senior Member
 
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18
fabian_roesler is on a distinguished road
Hi

You could choose
Code:
outputControl outputTime;
for the functionObject and use a
Code:
writeInterval of 0.1;
in controlDict.

Cheers
Elham likes this.
fabian_roesler is offline   Reply With Quote

Old   March 16, 2016, 03:44
Default Ug versus position
  #3
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17
Elham is on a distinguished road
Hi,

Can I have the centre of each cell for the corresponding Ug? I want to plot a function of Ug versus the position in flowfield.

Regards
Elham is offline   Reply With Quote

Old   March 16, 2016, 03:58
Default paraview with spread sheet view data export
  #4
Senior Member
 
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18
fabian_roesler is on a distinguished road
Hi,

The easiest way should be using paraview.
In paraview you an visualize the U gradient and open the spread sheet viewer. There you can see all cells with their index, position and stored field values. This spread sheet view can be stored as cvs data which can afterwards be processed in excel or other tools.

Cheers

Fabian
fabian_roesler is offline   Reply With Quote

Old   March 16, 2016, 22:14
Default
  #5
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17
Elham is on a distinguished road
Thanks Fabian,

That's exactly what I want.
Elham is offline   Reply With Quote

Old   March 16, 2016, 23:28
Default cannot save Ug in csv file
  #6
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17
Elham is on a distinguished road
But I cannot save Ug in csv file. What should I do?
Elham is offline   Reply With Quote

Old   March 17, 2016, 04:27
Default imaginary part of Ug missing
  #7
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17
Elham is on a distinguished road
Sorry just ignore this message. I mixed up Ug with the eigenvalue.

Last edited by Elham; March 17, 2016 at 04:38. Reason: It was my own mistake. I mixed up Ug with the eigenvalue.
Elham is offline   Reply With Quote

Old   March 17, 2016, 04:39
Default
  #8
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17
Elham is on a distinguished road
I solved it myself by selecting the boundary meshes as well as internal mesh.
Elham 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
How to export time series of variables for one point? mary mor OpenFOAM Post-Processing 8 July 19, 2017 11:54
Problem with an old Simulation FrankW CFX 3 February 8, 2016 05:28
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 10:34
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 23:40
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 05:03


All times are GMT -4. The time now is 20:48.