|
[Sponsors] |
April 4, 2023, 11:27 |
View a moving wall with Named Expressions
|
#1 |
New Member
Lucía
Join Date: Apr 2023
Posts: 7
Rep Power: 3 |
Hi, I am trying to make a wall move by using the named expression function in Fluent 2023 R1 and entering the boundary condition of that wall. Is there any way once initialized to be able to visualize the movement to see if it is really correct?
Because there are no errors and it does the run calculation but I don't know if the results it is giving me are correct because I don't know if the movement it is doing is really what I want. Thanks in advance |
|
April 4, 2023, 16:15 |
|
#2 |
Senior Member
Join Date: Jun 2009
Location: Technische Universität Chemnitz
Posts: 107
Rep Power: 17 |
I am a little confused about what you mean by using Named Expressions for the wall movement. Is what you mean, your movement sinusoidal or something similar, and you are using a Named Selection to represent this? But you are still putting this in as a boundary condition, correct? Are you using the built-in Dynamic Mesh models in Fluent? If so, with layering or smoothing on the bottom there is a button where you can Preview the Mesh Motion. There are a couple of good videos on YouTube for setting up similar problems. Check this one out:https://www.youtube.com/watch?v=fbaV_knzzks
If you already simulated it, you should see the motion/deformation of your domain in the transient result files. |
|
April 5, 2023, 03:36 |
|
#3 |
New Member
Lucía
Join Date: Apr 2023
Posts: 7
Rep Power: 3 |
Hi Nick, what I mean is that I use a sinusoidal expression in the moving wall option of the boundary condition of the wall I want to move (like in the image I include).
I tried the UDF files too with this file: #include "udf.h" #include "dynamesh_tools.h" DEFINE_CG_MOTION(wave,dt,cg_vel,cg_omega,time,dtim e) { cg_vel[0]=0.0; cg_vel[1]=(0.12e-6*(sin( 20*3.1415927* time))); cg_vel[2]=0.0; cg_omega[0]=0.0; cg_omega[1]=0.0; cg_omega[2]=0.0; } but when I trie to compile I obtain the following error: Warning: incorrect grid motion UDF wave::libudf1 on zone 4 (assuming no motion) and I tried to solved it but I can't get it. I'm going to watch the video, thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Natural convection in a closed domain STILL NEEDING help! | Yr0gErG | FLUENT | 4 | December 2, 2019 00:04 |
Centrifugal fan | j0hnny | CFX | 13 | October 1, 2019 13:55 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 03:32 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 17:51 |
moving wall BC problem | Sourabh | Main CFD Forum | 1 | August 8, 2006 07:47 |