|
[Sponsors] |
April 28, 2016, 00:48 |
UDF CG Rotation Problem
|
#1 |
New Member
Satrio Agi Nugraha
Join Date: Mar 2016
Location: Indonesia
Posts: 1
Rep Power: 0 |
Hello.
My name is Satrio from Indonesia, using ANSYS Fluent to simulate 2D rectangular tank with sinusoidal motion in z-axis direction (rolling). I tried to simulate my model in Fluent but there's a problem with the motion, it doesn't rotate in 1 full period of wave, but only half rotate (half cycle) and then back to equilibrium condition and then rotating half cycle again. I want rotate (rolling) to the left and right direction. The condition now is rolling to the right direction and then back to equilibrium condition, then back roll to right direction. this is my UDF DEFINE_CG_MOTION(NonCoupled, dt, vel, omega, time, dtime) { real w1, pi, a1, a2; pi = 3.141592654; w1 = 0.67 ; /* Encounter frequency */ a1 = -0.017 ; /* Roll Amplitude */ NV_S (omega, =, 0.0); omega[0] = 0; omega[1] = 0; omega[2] = a1 * w1 * sin(w1 * time); NV_S (vel, =, 0.0); vel[0] = 0; vel[1] = 0; vel[2] = 0; } thank you for your help, I extremely need it. |
|
Tags |
cgrotation, error, fluent, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 06:05 |
UDF Compilation Error - Loading Library - COMMON Problem! Help! | robtheslob | Fluent UDF and Scheme Programming | 8 | July 24, 2015 00:53 |
Vaporization pressure UDF property problem? | lehoanganh07 | Fluent UDF and Scheme Programming | 1 | September 13, 2014 10:59 |
UDF compiling problem in Flient 6.3 | jeevan kumar | FLUENT | 2 | February 25, 2009 00:43 |
Problem Setup: Bi-Axial Rotation Possible? | Harmeet | CFX | 6 | February 11, 2005 15:27 |