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 Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By vinerm

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 14, 2020, 07:16
Default Velocity Cell Macros in 2D Axisymmetric Swirl
  #1
New Member
 
Join Date: Dec 2019
Posts: 19
Rep Power: 6
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, 10:37
Default Sigsegv
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
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

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm 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
Swirl component in inflow BC for 2d axisymmetric flows vishalsacharya OpenFOAM Pre-Processing 2 November 2, 2018 05:33
Macros for cell volume particle is in DPM (fluent 18.1) skumar112 Fluent UDF and Scheme Programming 11 March 28, 2018 10:19
swirl inlet velocity for a 2-d axisymmetric flow zahrarashidi OpenFOAM Running, Solving & CFD 2 January 12, 2015 07:01
Axisymmetric Swirl Arpit Tiwari Main CFD Forum 1 September 15, 2010 05:45
Cell velocity in an axisymmetric problem Joc FLUENT 0 June 1, 2006 09:40


All times are GMT -4. The time now is 20:50.