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

Saving array or matrix in UDM

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 27, 2016, 13:29
Default Saving array or matrix in UDM
  #1
New Member
 
Join Date: Jan 2016
Posts: 3
Rep Power: 8
vucrusader is on a distinguished road
All,

For a user defined scalar function I wish to save cell center values of a given scalar at each iteration (similar to temperature, velocity etc. in fluent). To do so I believe that I have to use a user defined memory allocation. However, Fluent states that I am limited to 500 UDM variables.

If my discretization requires more than 500 cells, how do I save all of them?

Is the UDM variable simply a memory location (like a pointer in c) so that I could save an entire array or matrix in a single UDM variable or will I be able to save only one value (1) to a single UDM?

Regards,
vucrusader is offline   Reply With Quote

Old   January 16, 2017, 03:22
Default
  #2
New Member
 
Join Date: Aug 2011
Posts: 8
Rep Power: 12
Shayan is on a distinguished road
Hello,

As far as I know, we cannot save an array or matrix ( e.g gradient of a scalar) in UDM. Therefore, it's just for values.
Shayan is offline   Reply With Quote

Reply

Tags
array, matrix, udf, udm, uds

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
Segmentation violation louiza FLUENT 16 June 27, 2017 15:41
Sort Matrix Array in ANSYS Mechanical APDL esehov11 Structural Mechanics 0 January 9, 2016 10:02
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
Force can not converge colopolo CFX 13 October 4, 2011 22:03
OpenFOAM version 1.6 details lakeat OpenFOAM Running, Solving & CFD 42 August 26, 2009 21:47


All times are GMT -4. The time now is 06:40.