February 14, 2021 at 9:33 pmshehab GamrahSubscriber
The below picture is a cross section view of my model. its an outer sphere enclosing an inner sphere, separated by fluid, so 2 walls and a fluid. My question is how can I vibrate the inner sphere at 3 m/s in the directions stated by arrows, while the inner sphere won't touch the outer sphere after vibrating. so the inner sphere should move upwards, downwards, left and right as if vibrating.February 14, 2021 at 9:52 pmYasserSelimaSubscriberIn fluent, You need to use DEFINE_CG_MOTION ... give your inner wall the required velocity each time step.nMathematically, You need to make sure that S=sqrt(x^2 + y^2) < R_large - R_smallnnFebruary 14, 2021 at 9:56 pmshehab GamrahSubscriberI have 3 questions,nDo I need to specify UDFnWhich option should I use MRF, Sliding Mesh, Dynamic MeshnWhich option would create animation of sphere movingnFebruary 14, 2021 at 10:03 pmYasserSelimaSubscriber1 - You must use UDF for this simulation. My above DEFINE_CG_MOTION is a UDF macro ... n2 - You have to use Dynamic mesh, After compiling the UDF, it should appear in the Dynamic mesh panel for hookup n3 - To create animations ... create the frame you want and then go to Solution>Animation ... select your frame and the other options. Save HSF files, it takes more space but you can have more options when creating the animation nFebruary 14, 2021 at 10:06 pmYasserSelimaSubscriberone more thing, animations will make the simulation run very slow ... so, save the frames every certain flow time .. let's say 0.001 seconds, so you don't create frame every time stepnFebruary 15, 2021 at 1:05 amshehab GamrahSubscriberHey this is my first time to use a udf, can you give me any tutorial on how to specify udf codenFebruary 15, 2021 at 1:19 amYasserSelimaSubscriberSearch the forum, you will find many threads and some have the function. Also in the UDF manual there is an example that integrates the pressure on a wall to determine the velocity. Here is one post that has an oscillating wallnnhttps://forum.ansys.com/discussion/comment/102754#Comment_102754February 15, 2021 at 2:34 amshehab GamrahSubscriberHey all, I've never used udf before can someone help to write the udf.nthe inner sphere is translating upawards, downards, left, right at 1m/snand it is not touching outer spherenFebruary 15, 2021 at 11:56 amRobAnsys EmployeeThere is guidance in the manual, otherwise search for the macros on here (there's a list in the UDF manual for moving and deforming mesh). nViewing 8 reply threads
Ansys Innovation Space
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
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
- Difference between K-epsilon and K-omega Turbulence Model
- The solver failed with a non-zero exit code of : 2
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error: Received signal SIGSEGV
Top Rated Tags
© 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.