March 9, 2021 at 7:24 pmecrodSubscriber
I am trying to use a named expression as velocity boundary condition at inlet. My expression is working fine as you can see in the plot.March 9, 2021 at 7:28 pmYasserSelimaSubscriberHow is u_a, u_b and u_p defined?nMarch 9, 2021 at 7:39 pmYasserSelimaSubscriberby looking back at the photos you provided, it is a matter of defining real and integer.nnGo to u_a definition and make the units [m/s] ... do not have 1.000. Same for u_b and u_pnMarch 10, 2021 at 2:19 amMarch 10, 2021 at 2:42 amYasserSelimaSubscribertry thisnu_vel * 1 [m/s] / 1 [m s^-1.000]nlet me know if it worksnMarch 10, 2021 at 4:14 pmecrodSubscriberHello Yasser,nIt does not work. This problem is due to Herschel-Bulkley consistency index definition K [Pa*s^n] in named expressions, because the flow index n = 0.34 is real number.nProbably it is not possible to use the above velocity equations using Named Expressions, maybe only UDF. However, I do not know anything about UDF.nThanks.nnMarch 10, 2021 at 10:14 pmecrodSubscriberThe solution was to use everything dimensionless, included Y coordinate. In the end I used only u_vel [m s^-1] unit.nThanks your help Yasser.nMarch 11, 2021 at 1:14 amYasserSelimaSubscriberYou are welcome. I was actually into suggesting this but I thought it is less hassle to try changing the units first nMarch 11, 2021 at 6:54 amDrAmineAnsys EmployeeThanks for getting back with your solution. Yes I recommend to keep things dimensionsless when running into troubles or to correct at least the output by just adjusting the units as I think checking the whole parts of the formula might be complicated.nViewing 8 reply threads
Ansys Innovation Space
- You must be logged in to reply to this topic.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.Trending discussions
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
© 2023 Copyright ANSYS, Inc. All rights reserved.Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.