How to construct mesh based on the basic mesh
1 Attachment(s)
Hi all
I am going to implement a sub-grid method, in this method, a sub-grid need to be constructed based on the basic mesh in the first near wall cell. And in this near-wall mesh, some advanced turbulence model alone with the NS equation are solved, and give more precious results of wall shear stress and heat flux or wall temperature. But for now, I have no idea how to do the code in OpenFoam. Is there anyone who have implemented the similar code? Or some code in OpenFoam is worth to see? |
Hi Xinguang,
Do u mean you want to construct a sub-mesh consisted of the first layer of cells near the wall out of the basic mesh? Best regards, Jerry |
Hi Jerry
Thank you for your reply. Yes, that's what I mean. Do you have any suggestion? regards, Xinguang Quote:
|
Why not just use snappyHexMesh layers?
|
The basic mesh and the sub-grid mesh use different equations (NS equations and turbulence model).
regards, Xinguang Quote:
|
Ok, so it is not about creating the layer. In this case, you can check multi-region solvers in OpenFOAM or zone models. It depends on your model.
|
OK. I will check the OF code, and see if it is helpful for my case.
Thanks a lot for your reply. Quote:
|
All times are GMT -4. The time now is 16:47. |