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

[waves2Foam] frozen relaxation zones and a moving mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 8, 2015, 10:06
Default frozen relaxation zones and a moving mesh
  #1
Member
 
Join Date: May 2009
Posts: 54
Rep Power: 17
gfilip is on a distinguished road
Hi Niels,

Thank you for all the work you've put into this project.

I am running into issues that seem to be related to using the frozen relaxation zones and a moving mesh. If I reconstruct a certain time step after execution, and decompose it to restart the parallel simulation from that time step, I get errors about not finding "cells_inlet" files on execution. For example:

Code:
[1]
[1]
[1] --> FOAM FATAL IO ERROR:
[1] cannot find file
[1]
[1] file: /test/processor1/constant/cells_inlet at line 0.
[1]
[1]     From function regIOobject::readStream()
[1]     in file db/regIOobject/regIOobjectRead.C at line 73.
[1]
FOAM parallel run exiting
This message is then repeated for the remaining processors . It seems like perhaps the position / cell info of the frozen zones is not written / read after reconstructing and decomposing?

Greg
gfilip is offline   Reply With Quote

Old   April 8, 2015, 14:32
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Greg,

Out of curiosity: Does it work to restart the code, when you have not been through the reconstruct/decompose step?

Anyway, the cells_<name> lists are only created for time = 0, so there is nothing to be done in terms of restarting, if you have deleted the these lists. Of course, you could take a single time step from 0 and then restart.

I have never used this relaxation shape. May I ask, why you need it?

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   April 8, 2015, 15:21
Default
  #3
Member
 
Join Date: May 2009
Posts: 54
Rep Power: 17
gfilip is on a distinguished road
Niels,

Yes, restarting without the recon/decomp step works just fine. Looks like maybe I need to reconstruct/decompose with the -constant flag to get the cell lists to be included. I will report back if this indeed helps.

In this case, the frozen zones are used for a ship moving through waves with the grid translating.

Greg
gfilip is offline   Reply With Quote

Old   April 8, 2015, 16:07
Default
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Greg,

I suppose that you still have the 0-folder in the re-decomposed case? Then follow these steps:

  1. Decompose
  2. Run (one time step or at least the construction) of the re-decomposed case at t = 0 s.
  3. Run the case from the start time that you want to continue from.


This will create your cell-lists and you can subsequently continue the simulation.


Good to know that you find it useful. It is the exact purpose that the frozen zone was designed for (based on a kind request of another user).


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

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
Dynamic mesh setup, VOF 2 Phase, moving zones, possible? (diagram / picture) silent2608 Fluent Multiphase 2 August 17, 2024 04:17
[ANSYS Meshing] Is it possible to generate mesh in different cell zones in Ansys meshing? aja1345 ANSYS Meshing & Geometry 0 October 3, 2018 15:22
[waves2Foam] Difficulties in creating different relaxation zones neytirilover OpenFOAM Community Contributions 1 March 24, 2016 03:51
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


All times are GMT -4. The time now is 01:25.