CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Paraview & paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/)
-   -   mirror data in paraview (http://www.cfd-online.com/Forums/openfoam-paraview/85650-mirror-data-paraview.html)

Chris Lucas March 3, 2011 08:51

mirror data in paraview
 
Hi,

I have run a case with a symmetric geometry, Therefore, I used the symmetry in the simulation (simulated only half of the geometry) .

Is it now possible (and if it is, how can I do it) to mirror the data at the symmetry line so I can see the data for the "whole" geometry?

Thanks for the help.

Regards,
Christian

MartinB March 3, 2011 09:16

Hi Christian,

you can use "Filters->Alphabetical->Reflect" to do this.

Best regards

Martin

sivakumar July 18, 2013 06:08

Dear Martin,
I have done my simulation for single passage of a fan.
now I want to read the data for the whole fan.

how can I do that, Can you please help me?

Thanks for your time,
Sivakumar

wyldckat July 21, 2013 11:21

Greetings to all!

@Sivakumar: Can you at least specify how much of the fan you have simulated? Otherwise it's nearly impossible to help you...

Best regards,
Bruno

sivakumar July 22, 2013 03:57

Dear Bruno,
Thank you for your kind reply, the simulation which I have done is 1/8 th of the fan.

As MartinB instruction, I have imported the passage.

I am able to import up to 4 Blades with out any problem, when I import further paraView crashes immediately. It is being bit difficult in paraView.

it seems the problem occurs due to memory problem, I have 32 Gig RAM and 8 i7 processors.


Thanks,
Sivakumar

wyldckat July 22, 2013 08:50

Hi Sivakumar,

How many cells does your simulated mesh have? And how many times will you have to reflect it?

Best regards,
Bruno

wolfindark September 22, 2013 11:13

Dear All

I simulate 20 degree portion of a cylindrical geometry using symmetric boundary with interFoam.

I would like to visualize full cylinder in paraFoam.
is it possible to do that? How ?

thank you in advance

wyldckat September 22, 2013 13:07

Greetings Neilson,

A quick test indicates that the "Reflect" filter is limited to using the bounding box limits or the major axis.
What this means is that since you have 20 degrees only, then:
  1. You first need to align one of the faces with one of the major axis, by using the "Transform" filter.
  2. Then apply the "Reflect" filter once over the face that is aligned and over which you have a symmetry plane.
  3. Then by using the resulting 40 degree geometry, you have to do the first step once again, so that it's properly aligned once again and then do the second step.
  4. I advise you to use a clockwise evolution, which will likely be something like (in degrees): 20->40->80->160->320, at which point you only need to reflect the "40" from step #3 to the other side, therefore completing the cylinder.
The other possibility is to use the Python Trace feature, for figuring out how to automate this process with a macro: http://paraview.org/Wiki/Python_GUI_Tools#Trace

You can also select the list of filters that were applied and create a new filter that basically is a combo filter. Problem is that the original geometry will always have to be place in the same place.

Best regards,
Bruno

wolfindark October 10, 2013 22:16

Dear Bruno

I appreciate very much for your useful and clear explanation.

best regards

JackW July 13, 2014 05:14

I know this is an old post, but it may help people coming across it like me!

The way I mirrored the data (i wanted to now do the simulation 3D from a quasi-3D mesh) was to duplicate the values.

The mesh numbering works so that if you take all the internal values into a file internalU and just do:

cat internalU internalU > internalU_2

and then include this new file (removing the old values), then the flow field comes out as expected. You have to do this for the boundary patches too.

It is a lengthy process, but it is the solution that requires the least thinking or coding.

Jack

nanavati January 16, 2015 05:50

Quote:

Originally Posted by MartinB (Post 297789)
Hi Christian,

you can use "Filters->Alphabetical->Reflect" to do this.

Best regards

Martin

Thanks a ton for sharing ! Unfortunately Poor OpenFOAM really lacks in Documentation !

syavash May 8, 2015 15:31

Quote:

Originally Posted by wyldckat (Post 452993)
Greetings Neilson,

A quick test indicates that the "Reflect" filter is limited to using the bounding box limits or the major axis.
What this means is that since you have 20 degrees only, then:
  1. You first need to align one of the faces with one of the major axis, by using the "Transform" filter.
  2. Then apply the "Reflect" filter once over the face that is aligned and over which you have a symmetry plane.
  3. Then by using the resulting 40 degree geometry, you have to do the first step once again, so that it's properly aligned once again and then do the second step.
  4. I advise you to use a clockwise evolution, which will likely be something like (in degrees): 20->40->80->160->320, at which point you only need to reflect the "40" from step #3 to the other side, therefore completing the cylinder.
The other possibility is to use the Python Trace feature, for figuring out how to automate this process with a macro: http://paraview.org/Wiki/Python_GUI_Tools#Trace

You can also select the list of filters that were applied and create a new filter that basically is a combo filter. Problem is that the original geometry will always have to be place in the same place.

Best regards,
Bruno


Dear Bruno,

I am newbie in OF and it might be silly request: Where is this "Filter" menu?! I can not find it!!

Thanks.

wyldckat May 10, 2015 14:47

Quote:

Originally Posted by syavash (Post 545619)
I am newbie in OF and it might be silly request: Where is this "Filter" menu?! I can not find it!!

Quick answer: http://www.cfd-online.com/Forums/par...-paraview.html


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