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

How to modify postChannel in a way that it can be applied for a square channel

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 5, 2014, 07:27
Default How to modify postChannel in a way that it can be applied for a square channel
  #1
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
hi everybody,

I wanna modify the postChannel utility in a way that I can use it for a square channel. one of the limitation of postChannel is that it assume that the mesh is periodic in the x and z directions. In my case, I have just a periodic condition in z direction. I wanna plot rms velocities on a line for example placed at x=0.1.

Here is the postChannel.C

my problem is that I know what to do but I don't know how to do!!!!!

Is anyone here who knows from where I should start and how can I modify this utility?

any hints or tips would be appreciated.

Regards,
Mostafa
adambarfi is offline   Reply With Quote

Old   November 27, 2014, 07:15
Default
  #2
Member
 
Niu
Join Date: Apr 2014
Posts: 55
Rep Power: 12
Z.Q. Niu is on a distinguished road
Hi,adambarfi. Have you got the way to modify postChannel to duct flow?
Z.Q. Niu is offline   Reply With Quote

Old   November 27, 2014, 07:28
Default
  #3
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
hi Niu,

I couldn't do it, so I just left it and did the calculation by myself
adambarfi is offline   Reply With Quote

Old   November 28, 2014, 04:56
Default
  #4
New Member
 
Join Date: Feb 2013
Posts: 21
Rep Power: 13
Shahr is on a distinguished road
Dear Adambarfi,

How did you do the calculation? I couldn't find a way to do it in Paraview.
Shahr is offline   Reply With Quote

Old   November 28, 2014, 05:41
Default
  #5
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by Shahr View Post
Dear Adambarfi,

How did you do the calculation? I couldn't find a way to do it in Paraview.
I did it using a c++ code, I got the data using sample utility and then I calculated the rms velocities using that code
adambarfi is offline   Reply With Quote

Old   November 28, 2014, 06:00
Default
  #6
New Member
 
Join Date: Feb 2013
Posts: 21
Rep Power: 13
Shahr is on a distinguished road
I can imagine how tedious running sample for each grid layer cross-section would be.

I guess such volume averaging can be done in Tecplot, but have no idea how. Have you tried Tecplot? or anybody else?
Shahr is offline   Reply With Quote

Reply

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
Code for EARSM by Hellsten and RSM by Manceau, square duct, 2d turbulent channel Thomas Baumann OpenFOAM Running, Solving & CFD 14 October 16, 2020 04:11
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
transient motion of sphere in a square channel sajeesh FLUENT 0 March 4, 2013 10:15
How to make a UDF to have a velocity profile in a square channel Gigis Fluent UDF and Scheme Programming 8 January 13, 2013 22:20
Slug flow in square channel PaulC FLUENT 0 December 5, 2005 02:03


All times are GMT -4. The time now is 14:30.