|December 15, 2013, 20:48||
About how to apply boundary conditions read from a file
Join Date: Dec 2013
Posts: 1Rep Power: 0
I'm a novice Fluent user but have to do something impressive with Fluent UDF.
What I have to do is FSI analysis with Fluent. I have developed a customized structure solver which works with Fluent by exchanging boundary conditions.
Given a fluid model, after finishing Fluent analysis new force values of nodes on a given surface(FSI surface) should be extracted(node id, coordinates and force value for each node) and saved in a text file and then, structure solver starts to solve with the new force conditions and generates new displacement and velocity conditions for the same surface and saves them in a text file. Fluent, in turn, reads the file and apply them on the surface and starts to analyze to generate new force conditions. (I heard that in this case dynamic mesh should be applied.)
This is what I have to do. I've finished developing structure solver but stopped at interacting with Fluent. I want to get some UDF examples for extracting forces on each nodes to a file and applying displacement and velocity conditions for each node from a file. Can you give me comments or advices for the issue?
I'm lost and don't know where I should go.
Any comments or advices will be appreciated.
Last edited by sangjin lee; December 16, 2013 at 03:27.
|January 14, 2014, 06:57||
Join Date: Jan 2014
Posts: 4Rep Power: 3
That done, you can loop over all nodes of the surface, and write the following information to a file: node id (integer), resultant force (3 x real), current coordinates (3 x real). That information can then be readily passed on to the structural solver for a FEM solution of the displacement.
That should get you started. Let me know how it goes!
|dynamic mesh, fsi, udf|
|Thread||Thread Starter||Forum||Replies||Last Post|
|swak4foam building problem||GGerber||OpenFOAM Installation||54||April 24, 2015 16:02|
|Trouble compiling utilities using source-built OpenFOAM||Artur||OpenFOAM Programming & Development||14||October 29, 2013 11:59|
|An error has occurred in cfx5solve:||volo87||CFX||5||June 14, 2013 17:44|
|build problem swak4Foam OF 2.2.0||mcathela||OpenFOAM Installation||14||April 23, 2013 13:59|
|ParaView Compilation||jakaranda||OpenFOAM Installation||3||October 27, 2008 12:46|