|
[Sponsors] |
January 27, 2016, 14:29 |
Saving array or matrix in UDM
|
#1 |
New Member
Join Date: Jan 2016
Posts: 3
Rep Power: 10 |
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, |
|
January 16, 2017, 04:22 |
|
#2 |
New Member
Join Date: Aug 2011
Posts: 8
Rep Power: 15 |
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. |
|
Tags |
array, matrix, udf, udm, uds |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Segmentation violation | louiza | FLUENT | 16 | June 27, 2017 16:41 |
Sort Matrix Array in ANSYS Mechanical APDL | esehov11 | Structural Mechanics | 0 | January 9, 2016 11:02 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |
Force can not converge | colopolo | CFX | 13 | October 4, 2011 23:03 |
OpenFOAM version 1.6 details | lakeat | OpenFOAM Running, Solving & CFD | 42 | August 26, 2009 22:47 |