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

[waves2Foam] Had some issues reconstructing the case for post-processing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 5, 2016, 07:20
Default Had some issues reconstructing the case for post-processing
  #1
Senior Member
 
ArielJ
Join Date: Aug 2015
Posts: 127
Rep Power: 10
arieljeds is on a distinguished road
I am trying to set up a case using waveFoam to run in parallel on a cluster. First though I am trying to test it on my own machine as I've had some issues reconstructing the case for post-processing. I'm attaching the images from paraview following reconstruction:

reconstructedCase_bottom.jpg

reconstructedCase_inlet.jpg

reconstructedCase_side.jpg

reconstructedCase_top.jpg

As you can see, the case *almost* looks ok from the top (except for some issues at the walls) but then is completely wrong from all other views. My decomposeParDict file looks like:

Code:
numberOfSubdomains 2;

method          scotch;

simpleCoeffs
{
    n               ( 2 1 1 );
    delta           0.001;
}

hierarchicalCoeffs
{
    n               ( 1 1 1 );
    delta           0.001;
    order           xyz;
}

manualCoeffs
{
    dataFile        "cellDecomposition";
}
I will eventually decompose for 6 processors but I'm not understanding how to decompose properly. Does anyone have some advice on how to fix this?

Thank you!!


EDIT: Ok I just tried to see where the issue is and it is definitely in how I am decomposing the relaxation zones...... is there an example of how to properly decompose the relaxation zones somewhere?

Last edited by arieljeds; May 5, 2016 at 07:34. Reason: issue is with decomposing the relaxation zones
arieljeds is offline   Reply With Quote

Old   May 5, 2016, 12:03
Default
  #2
Senior Member
 
ArielJ
Join Date: Aug 2015
Posts: 127
Rep Power: 10
arieljeds is on a distinguished road
Hi there, I'm going to answer my own questions since I seem to have figured out the problem...

I changed to scotch decomposition as I was not confident on how to properly decompose the geometry otherwise. This fixed the relaxation zone issue but then I realised that the problem had to do with setWaveField so I ran:

Code:
blockMesh
waveGaugesNProbes
setWaveParameters 
mpirun -np 2 setWaveField - parallel 
mpirun -np 2 waveFoam -parallel > log
And (so far) this seems to have fixed the issue
arieljeds is offline   Reply With Quote

Old   May 5, 2016, 12:25
Default
  #3
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Ariel,

Your observations makes very little sense in the context of how the relaxation zones are supposed to work (and based on my long experience). Therefore, can I ask you to prepare a case including an Allrun-script, where the problem can be reproduced. Then I will have a look.

Furthermore, which OF version are you using?

Kind regards

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   May 5, 2016, 12:32
Default
  #4
Senior Member
 
ArielJ
Join Date: Aug 2015
Posts: 127
Rep Power: 10
arieljeds is on a distinguished road
Hi Niels,

As far as I can tell, what I was doing before was decomposing it strangely along the y (and I also tried z) axis, which, when I then used relaxationZoneLayout, seemed to decompose the relaxation zone itself weirdly. When I changed this and left it as scotch decomposition (meaning that I didn't put how to decompose the geometry in myself), the relaxation zones appeared correctly (as I think you said in an earlier post, the relaxation zones are local and shouldn't be affected by decomposition, so I think that I was confused in which applications/utilities to run using mpirun as well as the actual way the geometry was decomposed).

I believe I have fixed the problem now by running setWaveField using mpirun -np 2. Before I did it this way, the wave field was not set in the separate processors.. I hope I haven't confused you more now!

Would you still like me to provide a case with the allrun script? I can check shortly if the current simulation did actually work as expected.

I am using OF version 2.4.0

Thank you for getting back to me,

Ariel
arieljeds is offline   Reply With Quote

Old   May 5, 2016, 18:44
Default
  #5
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Yes, if the error is reproduceable, I would like to have the case.

Thanks,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Reply


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
convergence issues with Roe Solver on transonic inviscid steady case CarlosLozano SU2 4 March 4, 2018 05:23
Issues with symmetry patches perpendicular to outlets sturgeon OpenFOAM Running, Solving & CFD 2 October 9, 2017 09:46
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 14:53
Changing the grid on the same set-up Katya FLUENT 7 October 8, 2009 16:31
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24


All times are GMT -4. The time now is 23:53.