November 2, 2020 at 3:31 pmheavenSubscriber
I'm running an axisymmetric simulation with swirl. For my simulation I need to extract the velocities at the wall in all directions. To do this have written a UDF which works fine when I use a full stick boundary condition.
My problem occurs when I apply shear boundary conditions on the wall. Suddenly the F_W function doesn't seem to work anymore and returns the velocity it found latest, which is not correct. The F_U and the F_V function do return their correct values.
At the moment i'm still runing Ansys Fluent 2019 R3
Does someone have a clue what could cause such a problem? or could it be that this is a bug?
This is the UDF I useNovember 3, 2020 at 8:15 pmKonstantine KourbatskiAnsys Employeeis there more to the UDF? What is ID_sub?nNovember 4, 2020 at 8:12 amheavenSubscriberNot really, I intend to extend it. But at the moment I'm stuck with these velocities. nI do have another UDF to save the shear stress (and modify it), but I don't think that's what causes this problem.nThe ID_sub is the ID of one of the walls.nNovember 4, 2020 at 2:58 pmDrAmineAnsys EmployeeCan you try with the near wall cell value?nNovember 5, 2020 at 3:32 pmheavenSubscriberUsing the values of the cell near the wall does give me valid results, and they do approach the results i'm expecting quite ok. However I am modifying the wall shear stress (so on the faces) using velocities near the wall which gives me some error. I'd preferably would use only the wall values. nNovember 5, 2020 at 4:00 pmDrAmineAnsys EmployeeCan you paste the content of the UDF here? The only thing which I am thinking about and I am not sure about it that it might be that the value is empty if shear boundary is applied. Worthin checking on 3D case too.nNovember 5, 2020 at 4:10 pmheavenSubscriberCan you paste the content of the UDF here? Do you mean the UDF where I extract the velocity using the cell near the wall? nChecking the 3D case is indeed a good idea Array.nNovember 5, 2020 at 4:12 pmDrAmineAnsys EmployeeI think F_W will be always emnpty for swirl 2D independent of the boundary condition you are using.nNovember 5, 2020 at 5:03 pmKonstantine KourbatskiAnsys Employeewhat is the value of ID_sub or ID_tool, where is it defined? This is what I was asking in my previous post? Do you have any lines above DEFINE_ON_DEMAD? nNovember 9, 2020 at 10:17 amheavenSubscriberSorry for the late reply.nI think F_W will be always emnpty for swirl 2D independent of the boundary condition you are using. That's the weird thing, if I don't have a shear stress condition F_W does return accurate values, if I apply a rotation to the wall I do get (non-zero) velocities in the swirl direction.what is the value of ID_sub or ID_tool, where is it defined? This is what I was asking in my previous post? Do you have any lines above DEFINE_ON_DEMAD?nID_Sub and ID_Tool are respectively 5 and 6 and they match the ID's of the wall in fluent.November 9, 2020 at 1:08 pmDrAmineAnsys EmployeeDid you check on 3D? I also not really understand what you wrote regarding rotational wall etc..nNovember 9, 2020 at 7:20 pmKonstantine KourbatskiAnsys EmployeeTo add to DrAmine's comments, once you specify shear stress on the wall, then this condition is used to calculate tangential velocity, as per Sec. 188.8.131.52. Shear-Stress Calculation Procedure at Wall Boundaries, and the tangential velocity won't be zero unless your specified shear exactly matches that for the no-slip condition.nViewing 11 reply threads
Ansys Innovation Space
- You must be logged in to reply to this topic.
Simulation World 2022
Check out more than 70 different sessions now available on demand. Get inspired as you hear from visionary companies, leading researchers and educators from around the globe on a variety of topics from life-saving improvements in healthcare, to bold new realities of space travel. Take a leap of certainty and check out a session today here.
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
- Heat transfer coefficient
- What are the differences between CFX and Fluent?
- Floating point exception in Fluent
- The solver failed with a non-zero exit code of : 2
- Getting graph and tabular data from result in workbench mechanical
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
Top Rated Tags
© 2022 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.