|
[Sponsors] |
define "yplus" in custom field function in fluent |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 15, 2020, 10:25 |
define "yplus" in custom field function in fluent
|
#1 |
Member
Ali Suleiman
Join Date: Nov 2019
Posts: 43
Rep Power: 7 |
when I want to compute y+ in fluent it computed for the first layer only. so how can I define y+ in CFF I Know the law of y+=y*ut/kin.visc
but what the Y means in fluent how can I define anyone can help? |
|
May 15, 2020, 10:35 |
Yplus
|
#2 |
Senior Member
|
y is just coordinate normal to the wall. The challenge is not with y but with . This depends on wall shear stress and is not easy to define for cells that are not adjacent to the wall. The major challenge is in separating wall shear from other shear layers.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
May 15, 2020, 11:01 |
|
#3 | |
Member
Ali Suleiman
Join Date: Nov 2019
Posts: 43
Rep Power: 7 |
Quote:
and plot the y+ vs u+ in the same direction but that doesn't mean anything because of that not in the normal wall direction. I know that define y+ isn't easy but I need the code or formula of it because of all standard plots in books and researches are plots with y+ |
||
May 15, 2020, 11:07 |
Yplus plot
|
#4 |
Senior Member
|
It depends on your objective. No one plots vs from CFD since the graph is actually input to CFD. If you want to do it, you have to write a UDF and it won't be easy. The graphs that you see in books is based on experimental data and there is no benefit of regenerating it using CFD. If you are trying to do it for verification, then you have to either come up with a way to separate wall shear from turbulence shear or do multiple simulation with different velocities so that both, and , change for each case.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
May 15, 2020, 11:19 |
|
#5 |
Member
Ali Suleiman
Join Date: Nov 2019
Posts: 43
Rep Power: 7 |
Quote:
the last point. Would you recommend using the periodic boundary conditionز I actually used it but I need your opinion |
|
May 15, 2020, 11:22 |
Periodic BC
|
#6 |
Senior Member
|
That depends on the simulation. Periodic condition exists because it is useful but the usage is based on whether the physics and geometry, both, are periodic or not.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
May 15, 2020, 11:31 |
|
#7 |
Member
Ali Suleiman
Join Date: Nov 2019
Posts: 43
Rep Power: 7 |
I used the periodic to get fully developed for the straight channel then I used the profile to get the outlet condition of periodic as an inlet condition for another channel that has the same mesh, inlet, and outlet area but has a wavy in the bottom wall. so I used periodically only to get fully developed for a small length
|
|
May 15, 2020, 11:33 |
Good
|
#8 |
Senior Member
|
That's an appropriate use of translational periodicity.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
May 15, 2020, 11:36 |
|
#9 |
Member
Ali Suleiman
Join Date: Nov 2019
Posts: 43
Rep Power: 7 |
||
May 15, 2020, 11:39 |
Correct
|
#10 |
Senior Member
|
Yes, that's correct choice.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
May 15, 2020, 11:40 |
|
#11 |
Member
Ali Suleiman
Join Date: Nov 2019
Posts: 43
Rep Power: 7 |
||
May 18, 2020, 14:33 |
|
#12 |
Member
Ali Suleiman
Join Date: Nov 2019
Posts: 43
Rep Power: 7 |
||
May 18, 2020, 16:23 |
Adaption
|
#13 |
Senior Member
|
Mesh adaption is process to refine (or coarsen) the mesh in specific regions. If you already have the mesh that can resolve the required fields, then you don't need to worry about mesh adaption. Mesh adaption is one of the least used approach in most of the simulations.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
May 19, 2020, 01:04 |
|
#14 | |
Member
Ali Suleiman
Join Date: Nov 2019
Posts: 43
Rep Power: 7 |
Quote:
|
||
May 27, 2020, 11:10 |
|
#15 | |
Member
Ali Suleiman
Join Date: Nov 2019
Posts: 43
Rep Power: 7 |
Quote:
delta t= (CFL*mesh size/velocity) |
||
May 27, 2020, 12:39 |
Cfl
|
#16 |
Senior Member
|
For CFL, you need to use a scale and not exact value of x, y, or z size of cell. Usually, cube root of volume is used, provided the mesh is hex. If it is tet, then you can use cube root of as length scale.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
May 27, 2020, 21:20 |
|
#17 |
Member
Ali Suleiman
Join Date: Nov 2019
Posts: 43
Rep Power: 7 |
thank you very much
|
|
June 1, 2020, 07:45 |
|
#18 | |
Member
Ali Suleiman
Join Date: Nov 2019
Posts: 43
Rep Power: 7 |
Quote:
https://drive.google.com/file/d/1Lhn...ew?usp=sharing |
||
June 2, 2020, 10:38 |
Mesh
|
#19 |
Senior Member
|
I am afraid I cannot access Google Drive. So, better to attach a few pictures here in the post.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
June 2, 2020, 11:07 |
|
#20 | |
Member
Ali Suleiman
Join Date: Nov 2019
Posts: 43
Rep Power: 7 |
Quote:
this is a mesh |
||
Tags |
#fluent #cff |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent Custom Field function | saidkhaled | FLUENT | 2 | March 30, 2020 07:16 |
[swak4Foam] swakExpression not writing to log | alexfells | OpenFOAM Community Contributions | 3 | March 16, 2020 19:19 |
[swak4Foam] installation problem with version 0.2.3 | Claudio87 | OpenFOAM Community Contributions | 9 | May 8, 2013 11:20 |
Force Report help~ or maybe Custom Field Function | sailor | FLUENT | 0 | April 13, 2011 04:45 |
Droplet Evaporation | Christian | Main CFD Forum | 2 | February 27, 2007 07:27 |