CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] gradient of total pressure

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

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 22, 2011, 03:37
Default gradient of total pressure
  #1
New Member
 
Join Date: Jun 2011
Posts: 14
Rep Power: 14
DITO is on a distinguished road
Gents,

I have a question regarding Paraview.
I would like to generate a variable "gradient of total pressure" from cell to cell (or node to node)
Has anyone experience with that?
I think this could be usefull to show, where in the system the biggest pressuredrops are placed.

Thanks for your help
Cheers,
Dito
DITO is offline   Reply With Quote

Old   August 2, 2011, 09:27
Default
  #2
New Member
 
CFD user
Join Date: Apr 2010
Location: Germany
Posts: 28
Rep Power: 15
subhkirti is on a distinguished road
Hi Dito,

I want to generate the same result. Did you find out how can paraview do that?

Regards,

Subhkirti.

Quote:
Originally Posted by DITO View Post
Gents,

I have a question regarding Paraview.
I would like to generate a variable "gradient of total pressure" from cell to cell (or node to node)
Has anyone experience with that?
I think this could be usefull to show, where in the system the biggest pressuredrops are placed.

Thanks for your help
Cheers,
Dito
__________________
Thanks,
subhkirti is offline   Reply With Quote

Old   August 3, 2011, 02:33
Default
  #3
New Member
 
Join Date: Jun 2011
Posts: 14
Rep Power: 14
DITO is on a distinguished road
Yes, this was easier as expected
There ist a standardfilter called "Gradient of unstructured Dataset" )
Just mark the Volume -> click on the filter and choose the variable from which you wanna create the gradients. -> In this case Ptot
Works fine.

Cheers
DITO
DITO is offline   Reply With Quote

Old   August 3, 2011, 04:13
Unhappy Gradient of Unstructured Datasets
  #4
New Member
 
CFD user
Join Date: Apr 2010
Location: Germany
Posts: 28
Rep Power: 15
subhkirti is on a distinguished road
Thanks Dito,

I found the Gradient of Untrstructured Datasets yesterday, but I want not able to get to sensible results due to the following.

Quote:
Just mark the Volume
On switching to Volume view, my computer gets terribly slow, and does not generate a gradient field, which I saw being generated when it is in the surface mode. If by mark the volume, you mean just selecting the openfoam case, then it is ok. My computer configuration is quite good and a very recent one (2 core, 8GB RAM)

click on the filter and choose the variable from which you wanna create the gradients.
Quote:
-> In this case Ptot
Is it different from the pressure field. Mine has only p as the variable. Did you create Ptot from the normalised pressure fields in OpenFoam.
__________________
Thanks,
subhkirti is offline   Reply With Quote

Old   August 3, 2011, 04:38
Default
  #5
New Member
 
Join Date: Jun 2011
Posts: 14
Rep Power: 14
DITO is on a distinguished road
With switching the Geo Representation to volume, Paraview is doing s.th. like volume rendering. This needs a lot of recources.

With volume, I meant the volume in your pipeline browser.
Just mark it and click on the filter. Than select the specific variable.
Paraview will create a new part in your pipeline browser eg. GradientOfUnstructuredDataSet1.
This part, you can use as the source for clips, streamlines and so on.
The clip or streamline you can colour with the new gradient variable.

Reg. Ptot. this is an exported variable out of your solver. I think you forgot to export it.

I have also a question. maybe you have some experience with clipping.
I would like clip a specific section of my model with the planetool. Not the whole domain.
How can I do this? any Idea? And if it is possible, can I move the plane orthogonal to the plane Normal? I only managed to move it along the normal and resize the plane.

Thx
DITO
DITO is offline   Reply With Quote

Old   August 9, 2011, 06:23
Default Paraview clip filter
  #6
New Member
 
CFD user
Join Date: Apr 2010
Location: Germany
Posts: 28
Rep Power: 15
subhkirti is on a distinguished road
Hi Dito,

Sorry for replying late. I did not understand your question fully, but it looks like you can use a box type in the clip filter to do that.

Quote:
Originally Posted by DITO View Post
With switching the Geo Representation to volume, Paraview is doing s.th. like volume rendering. This needs a lot of recources.

With volume, I meant the volume in your pipeline browser.
Just mark it and click on the filter. Than select the specific variable.
Paraview will create a new part in your pipeline browser eg. GradientOfUnstructuredDataSet1.
This part, you can use as the source for clips, streamlines and so on.
The clip or streamline you can colour with the new gradient variable.

Reg. Ptot. this is an exported variable out of your solver. I think you forgot to export it.

I have also a question. maybe you have some experience with clipping.
I would like clip a specific section of my model with the planetool. Not the whole domain.
How can I do this? any Idea? And if it is possible, can I move the plane orthogonal to the plane Normal? I only managed to move it along the normal and resize the plane.

Thx
DITO
__________________
Thanks,
subhkirti is offline   Reply With Quote

Old   August 9, 2011, 07:13
Default
  #7
New Member
 
Join Date: Jun 2011
Posts: 14
Rep Power: 14
DITO is on a distinguished road
thanks for reply.
no, this is not what I meant.
when you use the planetool, you clipping the whole volume of your geometry. This is not what I want.
I would like to create a clip not bigger as the planetool is. (implicit - explicit)

Did you manage to get your gradientcoloured Streamline?

DITO
DITO is offline   Reply With Quote

Old   September 23, 2015, 13:01
Default
  #8
Member
 
António Pires
Join Date: Oct 2014
Posts: 33
Rep Power: 11
Antoniorp is on a distinguished road
Hello everyone,

First of all, thanks for this thread, it was really helpful.

I just have a question:

I used the Gradient Of Unstructured data filter and chose the U field and i got a new item in the pipeline browser "GradientOfUnstructuredDataSet1".

My question is how do i get the the results i need? how can i export them so i can make the data treatment i need for my work?

Also, is it possible to get results from only a part of the geometry? or the only option is to get results for the whole geometry?

Thanks,

António
Antoniorp is offline   Reply With Quote

Old   September 27, 2015, 16:53
Default
  #9
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings António,

It depends on the exact type of data extraction you're aiming for. But in any case, you can select any item from the "Pipeline Browser", then via menu "File -> Save Data" you can save the data to CSV (aka Comma Separated Values).

Some examples of filters that might come in handy:
  • Extract Cells by Region - for getting the actual Cell Data.
  • Plot Over Line - for getting interpolated data in specific points.
  • Probe Location - better than "Plot Over Line" for getting specific points.
  • Resample with Dataset - namely to use another data structure for resampling values.
As for Cell Data vs Point Data, see these posts of mine:
Best regards,
Bruno
Antoniorp likes this.
__________________
wyldckat is offline   Reply With Quote

Old   September 28, 2015, 05:04
Default
  #10
Member
 
António Pires
Join Date: Oct 2014
Posts: 33
Rep Power: 11
Antoniorp is on a distinguished road
Hi Bruno,

Thank you very much for your detailed answer, it will solve my question.

Best,

António
Antoniorp 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
Total pressure in rel frame and total pressure Salut CFX 14 May 8, 2023 02:29
Wind tunnel Boundary Conditions in Fluent metmet FLUENT 6 October 30, 2019 12:23
Difference between total pressure, total pressure in Stn and in Rel frames turbo5 CFX 6 January 21, 2016 16:05
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 00:01
pressure gradient term in low speed flow Atit Koonsrisuk Main CFD Forum 2 January 10, 2002 10:52


All times are GMT -4. The time now is 19:37.