|
[Sponsors] |
March 12, 2019, 07:11 |
Modifying Solver
|
#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. |
|
March 27, 2019, 10:03 |
|
#2 |
Senior Member
Join Date: Sep 2013
Posts: 353
Rep Power: 21 |
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.
|
|
March 27, 2019, 11:30 |
|
#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. |
|
April 10, 2019, 18:22 |
|
#4 |
Member
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8 |
Any thoughts?
I'm currently also looking at solution mapping |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Modifying solver for LES simulation | syavash | OpenFOAM Programming & Development | 5 | August 16, 2015 07:55 |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 10:52 |
Divergence problem | Smaras | FLUENT | 13 | February 21, 2013 06:03 |
3d vof | Smaras | FLUENT | 2 | February 19, 2013 07:58 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 15:08 |