|
[Sponsors] |
[waves2Foam] Using cellZone to represent relaxationShape or relaxationZone? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 26, 2016, 09:16 |
Using cellZone to represent relaxationShape or relaxationZone?
|
#1 |
New Member
Weiwen Zhao
Join Date: Dec 2013
Posts: 19
Rep Power: 12 |
Hi Jacobsen,
I've used waves2foam and it's really an excellent tool for generating waves. Do you consider using cellZone to represent relaxationShape or relaxationZone? Best, Weiwen |
|
May 26, 2016, 13:31 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37 |
Hallo Weiwen,
No, I do not have any plans of defining relaxation zones through cellZones. It should be possible, but can you come with some arguments for this? Note that the current implementation allows for more flexibility in defining the local coordinate system and hence the spatial variation in the relaxation factors. Dual information should be provided to allow for that with cellZones. 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. |
|
May 30, 2016, 08:00 |
|
#3 |
New Member
Weiwen Zhao
Join Date: Dec 2013
Posts: 19
Rep Power: 12 |
Hi Niels,
Sorry for the late reply. We implemented a dynamic mesh moving with a running ship in waves, i.e., the grid is doing planar motion with the ship. So for us, it is more convenient to use cellZones instead of fixed regions to represent the relaxation zones. About the local coordinate system for spatial variation for relaxation factors, I think we can refer to the patchLocal in refineMeshDict. Code:
// - patchLocal : coordinate system different for every cell. Specify in // patchLocalCoeffs section below. coordinateSystem patchLocal; patchLocalCoeffs { patch outside; // Normal direction is facenormal of zero'th face of patch tan1 (1 0 0); } Best, Weiwen |
|
May 30, 2016, 15:48 |
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37 |
Hi Weiwen,
I believe that you will obtain the thing you want with the use of the frozen type of relaxation zone. First you define the shape as frozen and you can then use one of the regular shapes to define the cells. In your case, it means that the cellSet is not updated each time, which is exactly what you need on horizontally translating grids. It is also possible to restart the simulation. 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. |
|
May 31, 2016, 08:35 |
|
#5 |
New Member
Weiwen Zhao
Join Date: Dec 2013
Posts: 19
Rep Power: 12 |
Hi Niels,
Thanks for pointing out that. I will try to use frozen type and report back. Best, Weiwen |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 05:38 |
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops | avinashjagdale | OpenFOAM Meshing & Mesh Conversion | 53 | March 8, 2019 09:42 |
[Salome] SALOME : How to define several CellZone | utawalpa | OpenFOAM Meshing & Mesh Conversion | 0 | March 23, 2018 13:19 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 18:57 |
OF-2.2.x: Derived class from cellZone and "undefined symbol error" | A_Pete | OpenFOAM Programming & Development | 6 | April 28, 2014 01:53 |