|
[Sponsors] |
April 3, 2020, 12:53 |
Fluent VOF Dynamic Mesh Adaptation problem
|
#1 |
Senior Member
Join Date: Nov 2015
Posts: 246
Rep Power: 12 |
Hello to everyone!
I have 2D test problem. I have rectangular domain with thin channel attached and pressure outlet at the end of it. Domain is filled with water by 50%. I use VOF model and ignore surface tension, flow assumed to be laminar. I apply fixed gravity in vertical direction and variable acceleration in horizontal direction. I managed to solve model with out mesh adaptation. Now I want to add dynamic mesh adaptation to refine mesh near free surface, that rapidly change during time. Something similar to this video. https://www.youtube.com/watch?v=AiDFNevhJ98 I want to adapt cells near free surface and coarse cells far from free surface. I have created two Expressions to determine free surface condition Free_Surface: AND(Volumefraction>0.4,Volumefraction<0.6) Far_Away_From_Free_Surface: OR(Volumefraction<=0.4,Volumefraction>=0.6) I run tool Adapt/Refine and use setting as showed on picture. When I press Adapt or Display I get error Error: Expression evaluation failed Error Object: #f Look like I`m doing something wrong but I can not find error. My expressions look OK for me, they return Boolean values and cover all range of VolumeFraction without overlaps. I have attached my .cas and.dat files in archive. My Ansys version is 2019R3. Thanks in advance! |
|
April 6, 2020, 07:01 |
Expression
|
#2 |
Senior Member
|
The error is rather clear. The expression is incomplete. Since volume fraction could be of any of the phases, you also need to specify the phase in the expression.
__________________
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. |
|
April 6, 2020, 13:49 |
|
#3 |
Senior Member
Join Date: Nov 2015
Posts: 246
Rep Power: 12 |
Oh, I suppose that Volumefraction represent Secondary Phase VFraction, but this can word only in two phase flow. Thank you for reply.
But now I have searched Fluent Users Guide and don’t find examples of Volumefraction variable syntax. I try Volumefraction_water or Volumefraction(water) but Expression Editor don’t recognize these variables. Here water is name of secondary phase. Can you prompt me where to search syntax example or how proper variable syntax look like? |
|
April 6, 2020, 14:46 |
Expressions
|
#4 |
Senior Member
|
Fluent expressions are defined in a more formal manner. You have to specify phase="water" within the expression.
__________________
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. |
|
April 6, 2020, 17:06 |
|
#5 |
Senior Member
Join Date: Nov 2015
Posts: 246
Rep Power: 12 |
Now all working, thank you!
https://imgur.com/a/T6ZnY63 BTW I have found paragraph in User Guide about context specification. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Interesting problem: Parallel Processor VOF Fluent + Dynamic Mesh + System Coupling | spaceprop | FLUENT | 5 | September 2, 2014 10:43 |
spring-based dynamic mesh problem | uhhaha2157 | FLUENT | 0 | January 1, 2014 08:38 |
Problem with Dynamic Mesh in Ansys Fluent 14.5 | alireza_b | FLUENT | 2 | May 10, 2013 09:20 |
keeping resolution of mesh in Dynamic mesh + Q about posprocessing the problem | M.Sc_Student | FLUENT | 3 | April 10, 2011 13:10 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |