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

for a expression

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 13, 2014, 00:04
Default for a expression
  #1
Member
 
liuzexiang
Join Date: Oct 2012
Location: China
Posts: 69
Rep Power: 13
liuzexiang is on a distinguished road
hi,everyone
i meet a problem so i am here for help!
i want to gain the information of these nodes on the surface in the model in my simulation such as current density, conductivity and so on. But i don't know how to gain the information of these nodes by expression or function. i want to use the expression to describe the motion of the surface.

there is another way to reach to my aim in the simulation.
i output the information of these nodes as .csv file in the cfd-post. then i compute the new coordination of x,y and z of these nodes by an equation about the current density of these nodes. But there are two questions:
1. how to save the .csv file in the cfd-post so that i can input the .csv file to the cfd-post and gain the deformation of the surface.
2. how to do when i want to use the deformation model as the new model in the next simulation.

can you help me ,give me some advice or some examples. my email is lzx_527.student@sina.com thank you very much!
liuzexiang is offline   Reply With Quote

Old   June 13, 2014, 06:53
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The method you describe is likely to be the least efficient multiphysics simulation ever performed. Handling this sort of data in a text file is going be very slow.

Can you describe what you are trying to model and how the surface is moved by the current density and conductivity. We might be able to come up with a better way to model it.
ghorrocks is offline   Reply With Quote

Old   June 15, 2014, 02:42
Default
  #3
Member
 
liuzexiang
Join Date: Oct 2012
Location: China
Posts: 69
Rep Power: 13
liuzexiang is on a distinguished road
hi, i am glad to see your reply. the description is showed as follow:
the material of the surface is metal and the dissolution is taken place at the surface following the equation x2=x1-wit,where x2 is the new x coordination of the node and the x1 is the old x coordination of the node. so is the y and z coordination. w is the coefficient of the metal dissolution and i is the current density,t is the dissolution time.
i think there are two method to solve this problem.
1. motion mesh. the dissolution along the x,y and z can be described by the expressions about the current density and then these expressions are inputted to coordinate displacement in cfx-pre. when the simulation is solved, the motion of the surface can be gained.
the question is which function can gain the current density of these nodes ?
2. just output the current density of these nodes, and compute the new coordination of these nodes after t time. then input the new nodes to the model and simulation for the next simulation.
the question is how to save the csv file and input it to the model, and save as the new model for the next simulation.
liuzexiang is offline   Reply With Quote

Old   June 15, 2014, 06:45
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You should be able to do this with mesh motion. No need for external stuff.

But I am not familiar with the electric field functions in CFX as I never use it.
ghorrocks is offline   Reply With Quote

Old   June 15, 2014, 13:28
Default
  #5
Member
 
liuzexiang
Join Date: Oct 2012
Location: China
Posts: 69
Rep Power: 13
liuzexiang is on a distinguished road
but i think it is just a function problem, it is not a problem of electric field. just a function that can gain the information of nodes such as velocity and so on is OK
liuzexiang is offline   Reply With Quote

Old   June 15, 2014, 18:43
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I do not understand what you are asking. What is your question?
ghorrocks is offline   Reply With Quote

Old   June 17, 2014, 13:04
Default
  #7
Member
 
liuzexiang
Join Date: Oct 2012
Location: China
Posts: 69
Rep Power: 13
liuzexiang is on a distinguished road
i want to simulate the dissolution of the metal for a time. so i want to know the current density. but now i think it is not a good method because the time is too long for the simulation. maybe output the current density of these nodes and compute the value of dissolution is better. then gain the deformation of the model . but the key problem is how to use the deformation model as the next simulation. how to save this kind of model and input to the cfd-pre
thank you !
liuzexiang is offline   Reply With Quote

Reply

Tags
cfd-post, expression


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
[swak4Foam] outputTime in Swak function immortality OpenFOAM Community Contributions 20 October 6, 2022 12:08
writing execFlowFunctionObjects immortality OpenFOAM Post-Processing 30 September 15, 2013 06:16
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 18:44
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 06:25
Lift, Drag Vs time chart,calculations Jamesd69climber CFX 8 February 17, 2005 17:23


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