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

change node or cell x, y, z values during simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2016, 17:22
Default change node or cell x, y, z values during simulation
  #1
New Member
 
Join Date: Jul 2016
Posts: 1
Rep Power: 0
shenh is on a distinguished road
We are trying to model pits formation along a water pipe that are caused by corrosion. We have developed equations on what the pit depth will be with time. Can anyone kindly suggest how to model these pits? My initial idea is at each time step to edit node or cell x, y, z values to model these pits.

I know node_x and node_y is accessible in UDF. But are they read only? Some examples would be greatly appreciated.

Thanks

Hailiang
shenh is offline   Reply With Quote

Old   July 18, 2016, 10:58
Default
  #2
AHF
Member
 
AHF's Avatar
 
amirhossein
Join Date: Jul 2014
Location: Canada
Posts: 81
Rep Power: 12
AHF is on a distinguished road
Quote:
Originally Posted by shenh View Post
We are trying to model pits formation along a water pipe that are caused by corrosion. We have developed equations on what the pit depth will be with time. Can anyone kindly suggest how to model these pits? My initial idea is at each time step to edit node or cell x, y, z values to model these pits.

I know node_x and node_y is accessible in UDF. But are they read only? Some examples would be greatly appreciated.

Thanks

Hailiang
Hi
if you want to reposition the nodes , you can do it by :
NODE_X(v) = (the position that you want) ;
__________________
amirhosseinfardi94@gmail.com
AHF is offline   Reply With Quote

Reply

Tags
udf code


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
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 14:41
Journal file error magicalmarshmallow FLUENT 3 April 4, 2014 13:25
The fluent stopped and errors with "Emergency: received SIGHUP signal" yuyuxuan FLUENT 0 December 3, 2013 23:56
Simulation time vs. Simulation Cell Count chrisoturner Main CFD Forum 7 September 8, 2012 18:46
Accessing node values using a UDF Nico FLUENT 2 December 20, 2007 03:50


All times are GMT -4. The time now is 16:46.