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

UDF for acceleration

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By syavash

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2014, 19:08
Cool UDF for acceleration
  #1
Senior Member
 
amin.z's Avatar
 
Amin
Join Date: Oct 2013
Location: Germany
Posts: 397
Rep Power: 15
amin.z is on a distinguished road
Hello

I have a case with moving wall with constant acceleration!
Which macro can define acceleration?
I have written an udf for moving wall due to mass flow exit in a nozzle based on newton law (6DOF) but for a constant input acceleration...?

Thanx
amin.z is offline   Reply With Quote

Old   July 17, 2014, 19:45
Default
  #2
Senior Member
 
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18
syavash is on a distinguished road
Quote:
Originally Posted by amin.z View Post
Hello

I have a case with moving wall with constant acceleration!
Which macro can define acceleration?
I have written an udf for moving wall due to mass flow exit in a nozzle based on newton law (6DOF) but for a constant input acceleration...?

Thanx
Hi,
I think you should calculate the instantaneous velocity based on Euler formula, that is: V/dt=F/m.
"F" can be calculated via a macro or directly, depending on your physics and geometry.
Goodluck
amin.z likes this.

Last edited by syavash; July 18, 2014 at 19:39.
syavash 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
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 08:37
Source Term UDF VS Porous Media Model pchoopanya Fluent UDF and Scheme Programming 1 August 28, 2013 07:12
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 22:38
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 05:03


All times are GMT -4. The time now is 01:18.