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

udmi question, is it possible to hold memory when mesh or cas file changes?

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

Like Tree2Likes
  • 1 Post By Bruno Machado
  • 1 Post By `e`

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2016, 07:58
Default udmi question, is it possible to hold memory when mesh or cas file changes?
  #1
New Member
 
S.J Chung
Join Date: Mar 2015
Posts: 6
Rep Power: 11
ssavi22 is on a distinguished road
Hello guys.

I want to compare two mesh files cell volumes.

But I can't. Because when i change my mesh file, the memory is initialized.

Is it possible?

Always, thank you for your helps
ssavi22 is offline   Reply With Quote

Old   May 26, 2016, 09:33
Default
  #2
Senior Member
 
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 13
Bruno Machado is on a distinguished road
Quote:
Originally Posted by ssavi22 View Post
Hello guys.

I want to compare two mesh files cell volumes.

But I can't. Because when i change my mesh file, the memory is initialized.

Is it possible?

Always, thank you for your helps
From my understanding, the UDMI is defined in each cell, which means it has dependence on the coordinates of your mesh. altering the mesh, and its coordinates, makes the result from previous mesh useless.
ssavi22 likes this.
Bruno Machado is offline   Reply With Quote

Old   May 26, 2016, 19:10
Default
  #3
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
As Bruno has said, the UDM values only make sense for the current mesh; not another where the node coordinates are different. You could run a cell loop over the domain and print the average, standard deviation and other statistics of the cell volumes and then compare these metrics between meshes.
ssavi22 likes this.
`e` is offline   Reply With Quote

Reply

Tags
memory, udf, udmi

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
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 01:22
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 10:59
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 17:18
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00


All times are GMT -4. The time now is 13:56.