|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8 ![]() |
Hi all,
I'm using a dynamic mesh solver created by a forum user. Currently its reads a patch name from the dynamicMeshDict and applies a velocity and layer addition to that patch. I'm hoping to modify it so that the LAR takes place at a specified faceZone within the fluid domain (see picture). I think that it should be fairly straight forward to do but my programming skills are the best. Any help would be great, thanks. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Sep 2013
Posts: 353
Rep Power: 20 ![]() |
It is not clear what you want to do here. If you are adding the cells inside the mesh what should the other cells do? stay the same? stretch? Within the original solver only the points on the piston face have to move. All other points are stationary. Only the first layer points change by LAR. In your case the internal points on atleast one side have to be moved. And you need to programm that movement.
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8 ![]() |
So I want the cells in region 1 to remain the same throughout the simulation time. This is because of the inflation layers (blue) around the creviced piston. Region 1 would move to the right, and the cells to the right of the faceZone (region 2) would be compressed and then removed. This would then continue, as the volume of region 3 gets reduced.
Basically I want the cells in the uniform part of the mesh to be compressed and removed instead of boundary layers at the piston crown. The velocity would still be specified at the piston, but the removal of cells would occur at the faceZone. |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8 ![]() |
Any thoughts?
I'm currently also looking at solution mapping |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Modifying solver for LES simulation | syavash | OpenFOAM Programming & Development | 5 | August 16, 2015 06:55 |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 09:52 |
Divergence problem | Smaras | FLUENT | 13 | February 21, 2013 05:03 |
3d vof | Smaras | FLUENT | 2 | February 19, 2013 06:58 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 14:08 |