CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Convert transient case to steady state case

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 29, 2021, 05:44
Default Convert transient case to steady state case
  #1
New Member
 
Join Date: Jul 2021
Posts: 2
Rep Power: 0
zeefar is on a distinguished road
Hello,
I'm working on simulating kinematics of insect wing flapping and I wrote a UDF for its transient kinematics which works fairly well. The problem is that I need to actually rework the simulation as a steady state case for my final results. My current code has a time component which does not get processed by Fluent as the case is steady state, as you may see below:

/* flap.c */
/* UDF for specifying a simple harmonic motion*/
/* */
/**********************************************/

#include "udf.h"
#define Freq 0.1
#define angular_freq 2.0*M_PI*Freq
#define tetmax -45.0*M_PI/180

DEFINE_CG_MOTION(shm, dt, cg_vel, cg_omega, time, dtime)
{
real omega;
omega = tetmax*angular_freq*cos(angular_freq*time); /* rotational speed about axis*/

cg_vel[0] = 0.0075 * sin(3.1415927 * time / 5.);
cg_vel[1] = 0.0;
cg_vel[2] = 0.0;

cg_omega[0] = 0.0;
cg_omega[1] = 0.0;
cg_omega[2] = omega;
}


I need to know how I can change this code so it works in a steady state case as well.
zeefar is offline   Reply With Quote

Old   July 29, 2021, 06:41
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 33
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
motion itself implies something transient, isn't it?

if you need steady state simulation on specific configuration of domain, you may :
1. prepare this mesh from the very beginning and run it as steady state
2. or stop your transient simulation at specific moment

probably you have special knd of problem, which I don't fully understand
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Transient simulation gives worse results than steady state simulation jgross CFX 12 January 21, 2021 13:21
Transient and Steady state simulation results do not match shahin1 FLUENT 0 July 23, 2020 08:24
[DesignModeler] DesignModeler Scripting: How to get Full Command Access ANT ANSYS Meshing & Geometry 53 February 16, 2020 16:13
how to map results from steady state run to tranient case? phsieh2005 OpenFOAM Running, Solving & CFD 2 November 7, 2010 07:20
About the difference between steady and unsteady problems Lisa Main CFD Forum 11 July 5, 2000 15:37


All times are GMT -4. The time now is 10:44.