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

Velocity Cell Macros in 2D Axisymmetric Swirl

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

Like Tree1Likes
  • 1 Post By vinerm

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 14, 2020, 08:16
Default Velocity Cell Macros in 2D Axisymmetric Swirl
  #1
New Member
 
Join Date: Dec 2019
Posts: 11
Rep Power: 2
c_023 is on a distinguished road
Does anyone know how the velocity components can be accessed with a macro in 2D axisymmetric swirl? The UDF manual does not differ between 3D and 2D axisymmetric and only provides C_U(c,t), C_V(c,t), C_W(c,t). Are there specific macros for accessing Velocity components in axisymmetric and axisymmetric swirl domain?
I have a UDF that is using Velocity components to compute a source term, the UDF works well in 3D but is causing a SIGSEGV during the first Iteration in 2D axisymmetric swirl, which I believe stems from the UDF trying to Access a velocity component that is not existing.
Does anyone know what macros can be used in such a case?

Thanks in Advance and Kind regards!
c_023 is offline   Reply With Quote

Old   February 14, 2020, 11:37
Default Sigsegv
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 539
Rep Power: 16
vinerm is on a distinguished road
C_W exists for a case with 2D axisymmetric swirl. Check your code; it's possible that the error is due to some other reason.
c_023 likes this.
__________________
Regards,
Vinerm

PMs only for private content
vinerm is online now   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
Swirl component in inflow BC for 2d axisymmetric flows vishalsacharya OpenFOAM Pre-Processing 2 November 2, 2018 06:33
Macros for cell volume particle is in DPM (fluent 18.1) skumar112 Fluent UDF and Scheme Programming 11 March 28, 2018 11:19
swirl inlet velocity for a 2-d axisymmetric flow zahrarashidi OpenFOAM Running, Solving & CFD 2 January 12, 2015 08:01
Axisymmetric Swirl Arpit Tiwari Main CFD Forum 1 September 15, 2010 06:45
Cell velocity in an axisymmetric problem Joc FLUENT 0 June 1, 2006 10:40


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