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

calcFvcGrad output time control

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

Like Tree1Likes
  • 1 Post By fabian_roesler

Reply
 
LinkBack Thread Tools Display Modes
Old   February 23, 2016, 23:00
Default calcFvcGrad output time control
  #1
Member
 
Elham
Join Date: Oct 2009
Posts: 75
Rep Power: 9
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: 210
Rep Power: 10
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
Member
 
Elham
Join Date: Oct 2009
Posts: 75
Rep Power: 9
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: 210
Rep Power: 10
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
Member
 
Elham
Join Date: Oct 2009
Posts: 75
Rep Power: 9
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
Member
 
Elham
Join Date: Oct 2009
Posts: 75
Rep Power: 9
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
Member
 
Elham
Join Date: Oct 2009
Posts: 75
Rep Power: 9
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
Member
 
Elham
Join Date: Oct 2009
Posts: 75
Rep Power: 9
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

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
Problem with an old Simulation FrankW CFX 3 February 8, 2016 05:28
How to export time series of variables for one point? mary mor OpenFOAM Post-Processing 7 February 19, 2014 16:56
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 09: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 04:03


All times are GMT -4. The time now is 04:08.