|
[Sponsors] |
April 10, 2021, 19:48 |
Solution Based Mesh Adaption
|
#1 |
New Member
Vangelis
Join Date: Apr 2021
Posts: 3
Rep Power: 5 |
Hello guys
I am running a simulation on a 90 degree pipe bend and I want to create a mesh refinement at the high gradients of the flow. More specifically I am trying to create a field function which will split the mesh cells in two only if the velocity of the flow is above a certain value. I have created so far a field function where the normalised velocity is calculated (${Normalized Velocity}*${Cell Width} ) and when I am using a refinement function where I used the following formula (${Normalized Velocity}>1.4)? ${Cell Width}/2 :0) however after adapting this to my mesh I get all the cells that are in the mid section of the pipe to split and not the ones where the velocity gradient is large. Can someone help me fix this Thank you |
|
April 11, 2021, 10:22 |
|
#2 |
Senior Member
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 438
Rep Power: 18 |
Did you check how (${Normalized Velocity}>1.4)? ${Cell Width}/2 :0) looks like on a plane section slice for example?
|
|
April 11, 2021, 10:26 |
|
#3 |
New Member
Vangelis
Join Date: Apr 2021
Posts: 3
Rep Power: 5 |
Yes I did and I have figured it out, I had to use the velocity as a scalar function not as a vector. Thanks for corresponding.
|
|
Tags |
field functions, mesh 3d, mesh refinement study |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converging the solution | aja1345 | FLUENT | 13 | June 15, 2022 00:46 |
foam-extend-4.1 release | hjasak | OpenFOAM Announcements from Other Sources | 19 | July 16, 2021 06:02 |
[snappyHexMesh] non uniform mesh near the stl object | vava10 | OpenFOAM Meshing & Mesh Conversion | 0 | January 31, 2021 15:41 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |