|
[Sponsors] |
January 6, 2016, 05:08 |
Defining CG MOTION
|
#1 |
New Member
Soph
Join Date: Dec 2015
Posts: 2
Rep Power: 0 |
Hi all,
I am trying to model a fluid body. One wall of the fluid body will be fixed, while another wall at the other extreme will be subjected to linear and angular velocity in the x,y and z direction (I suppose this requires the 6dof solver). However when I try to run the simulation, there isn't any velocity values assigned to the 3 directions. I am thinking it may be because I did not define the CG in my code or on fluent properly. Have attached my code right here, would appreciate if anyone can advise me on this. Thank you! __________________________________________________ ________- #include "udf.h" #include "math.h" #include "dynamesh_tools.h" DEFINE_CG_MOTION(valve, dt, vel, omega, time, dtime) { /* reset velocities */ NV_S (vel, =, 0.0); NV_S (omega, =, 0.0); /* compute velocities formula */ vel[0]=0.0011; /* computing linear velocities */ vel[1]=0.001225; vel[2]=0.0042; omega[0]=-0.09774; omega[1]=0.317214; omega[2]=0.15184346; printf("\n"); printf("\n rotational_speed = %g \n",omega[2]); } |
|
April 4, 2016, 03:22 |
|
#2 |
New Member
mortezasekaloo
Join Date: Apr 2016
Posts: 4
Rep Power: 10 |
hi
I am the student of fluid mechanics and now I am studying on fluid project. The subject of my project is about blade turbine that Oil radially impacts to the turbine blades by a nozzle, causing the turbine to spin. I have a problem in modeling of turbine that I don’t know how to obtain moment of inertia of blade and fluid and how to relate this challenge to the Cg motion until I can model this turbine in fluent software. Please help me Thank for your attention |
|
July 11, 2019, 06:23 |
|
#3 |
New Member
Join Date: Jul 2019
Posts: 1
Rep Power: 0 |
I had the same issue. Make sure that you have assigned UDF in dynamic mesh options to every boundary of the cell zone, including interior. In my case I have forgotten about interior.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Defining mesh motion diffusivity from file | cuba | OpenFOAM Running, Solving & CFD | 3 | October 24, 2023 09:09 |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
External management of solid motion (using dynamicmesh) | maxou1993 | Main CFD Forum | 0 | July 28, 2015 12:37 |
Problem in defining motion to the body externally ! | OE11S007 | STAR-CCM+ | 1 | March 8, 2014 00:32 |
Defining dynamic zones for Define CG motion | aamer | Main CFD Forum | 0 | March 21, 2011 04:51 |