|
[Sponsors] |
January 25, 2012, 10:52 |
Mirror results
|
#1 |
New Member
BT
Join Date: Jan 2011
Posts: 16
Rep Power: 15 |
Good afternoon,
I am looking for a way to mirror an existing solution for further processing on it. I have found "mirrorMesh", but it doesn't do what I want as only the cells are mirrored not the boundary fields (at least if they are nonuniform). Mirroring in paraView is known to me as well but didn't work. Can anybody provide some help? Thanks in advance. Cheers MasterCooler |
|
January 28, 2012, 04:34 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings MasterCooler,
Quote:
Best regards, Bruno
__________________
Last edited by wyldckat; January 28, 2012 at 04:37. Reason: reflect filter, not reflect mirror... |
||
January 30, 2012, 03:27 |
Problems with reflect-option in paraView
|
#3 |
New Member
BT
Join Date: Jan 2011
Posts: 16
Rep Power: 15 |
Good morning,
for a better understanding let me explain the background of my question a little further: I have done a simulation with a model which is symmetric why I have simulated it by a half only. Now I want to use that model for derive the boundary conditions of a submodel which is not symmetric anymore. Therefore I looked to mirror the first solution before mapFields is used. The problem is that mapFields operates on the time folders and I can't save the reflected solution as a new timefolder, isn't it? Thanks for further advice. Cheers MasterCooler |
|
January 30, 2012, 07:16 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi MasterCooler,
Mmm... I suppose the quickest solution, without looking deeper into this, is to load one patch at a time:
Good luck! Bruno
__________________
|
|
January 30, 2012, 07:50 |
|
#5 |
New Member
BT
Join Date: Jan 2011
Posts: 16
Rep Power: 15 |
Hey Bruno,
so far so good. I have done it in the similar way before. But how can I process the exported data further? I tried to mirror the halve mesh by mirrorMesh and applying the exported data on it, so that a complete new time folder is created. But it doesn't work obviously as the numbering of the mirrored Mesh and the exported data don't fit to each other. Further I explicitly need the internalMesh for further processing what caused other problems as the number of cells of the mirrored mesh and exported data from the reflected mesh don't fit to each other. Many thanks for your advice. Cheers Ben |
|
January 31, 2012, 17:02 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ben,
I don't if you're going to like this answer, but it's the best I can figure out: you will have to create a hybrid application that merges mirrorMesh with mapFields. Basically:
Bruno
__________________
|
|
February 1, 2012, 03:11 |
|
#7 |
New Member
BT
Join Date: Jan 2011
Posts: 16
Rep Power: 15 |
Good morning Bruno,
your comments according mirrorMesh and mapFields fit exactly to my experience. Currently my programming ability is still weak but I will take the opportunity and try to create that mapMirroredFields soon and provide it here afterwards. In advance thanks a lot for your time and help. Have a nice day. Cheers Ben |
|
December 4, 2014, 13:38 |
mapMirroredFields
|
#8 | |
New Member
Join Date: Oct 2012
Posts: 19
Rep Power: 14 |
Hi,
I'm facing the same problem. Did you create the mapMirroredFields application? Cheers Quote:
|
||
August 4, 2016, 19:09 |
|
#9 |
New Member
Deepen Gala
Join Date: Dec 2015
Location: Austin
Posts: 1
Rep Power: 0 |
Hi,
I am also facing the same issue. Is there a way to map the mesh and results of a symmetric case(1/4th of original geometry) to the entire geometry and ensuring that the resulting mesh and results are consistent |
|
May 19, 2018, 11:44 |
|
#10 |
Member
Tarang
Join Date: Feb 2011
Location: Delhi, India
Posts: 47
Rep Power: 15 |
Hi,
any update on mirrormeshfield application? |
|
June 11, 2018, 12:00 |
|
#11 | |
Senior Member
Lukas Fischer
Join Date: May 2018
Location: Germany, Munich
Posts: 117
Rep Power: 8 |
I tried this approach and it is not giving me what I need.
My aim is to mirror an existing mesh and mirror the boundary / initial conditions as well. I used mirrorMesh to mirror the mesh. The next step would be to mirror the boundary conditions (which are not constant and are therefore given by a list) because the cell size has doubled due to the mirrored mesh. I used paraview and opened the old mesh (which is not mirrored). I used the Reflect filter copy the input. As you said I have only chosen one patch (e.g. the inlet of a pipe). The filter worked and mirroed the mesh and the data. When I opened a spreadsheet in paraview I could chose cell data and exported the needed data to a .csv file. My idea was to take this list and exchange it with the old (not mirrored) cell data in the mirrored CFD case. Due to the mirroring of the mesh the cell numbering or whatever is changed. Therefore the new list did not result in mirrored values. By closer inspection I could see that the Reflect filter from paraview only copied the list and appended it to the end of the list. What I obviously need is a list which has the correct order. Quote:
|
||
October 2, 2019, 09:44 |
|
#12 |
New Member
Mazen Draw
Join Date: Sep 2018
Posts: 21
Rep Power: 8 |
I have found a way around this if anyone is interested:
- copy the original case with the wanted results - in the copied case, excute rotateMesh on the time folder with the wanted results. This will rotate the results with the mesh to create a symmetric case of your original one - in the combined case, excute mapFields twice. Once for the original case and once for the copied symmetric case. This should combine both results in one time folder. I hope this would help someone someday! |
|
Tags |
mirror, mirrormesh, nonuniform, results |
Thread Tools | Search this Thread |
Display Modes | |
|
|