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

a sinusoidal force added to the wall of combustion chamber

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 24, 2016, 09:00
Default a sinusoidal force added to the wall of combustion chamber
  #1
New Member
 
zhichao.zhao
Join Date: Aug 2016
Location: Munich
Posts: 3
Rep Power: 10
zhichaozhao is on a distinguished road
Hello, friends.
i would like to set up a sinusoidal force in top and bottom wall of the combustion chamber.
the geometry consists in two rectangle represent a burner and a combustion charmer. the force located on the wall will exicte wall oscillation.
the amplitude is 10e-7n/m3 and the frequency is 3838HZ.
i try source term for the momentum equation, it seems fail.
could anyone help me on this case?
zhichaozhao is offline   Reply With Quote

Old   August 24, 2016, 09:09
Default the UDF code i written
  #2
New Member
 
zhichao.zhao
Join Date: Aug 2016
Location: Munich
Posts: 3
Rep Power: 10
zhichaozhao is on a distinguished road
DEFINE_SOURCE(oscillate, cell, ts, dS, eqn)
{
real source;
real time = CURRENT_TIME;
real x[ND_ND];
Thread *tm = THREAD_SUPER_THREAD(ts);
source = 0.00000001sin(3838*ime);
dS[eqn] = 0.08*6.28*2*3.1315926*cos(2*3.1315926*time);
return source;
}
zhichaozhao is offline   Reply With Quote

Reply


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
Natural convection in a closed domain STILL NEEDING help! Yr0gErG FLUENT 4 December 2, 2019 01:04
Diesel Engine combustion chamber analysis sachinthakre FLUENT 12 August 13, 2013 15:14
UDF for wall slipping HFLUENT Fluent UDF and Scheme Programming 0 April 27, 2011 13:03
[GAMBIT] Dynamic Meshing of a combustion chamber donarundas ANSYS Meshing & Geometry 1 December 2, 2009 08:13
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30


All times are GMT -4. The time now is 22:47.