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

where in manuals I may read about whole procedure of using UDF?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By TimTUBAF
  • 1 Post By KevinZ09

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2017, 15:49
Default where in manuals I may read about whole procedure of using UDF?
  #1
Member
 
Serguei
Join Date: Mar 2015
Posts: 33
Rep Power: 11
serguei is on a distinguished road
Hello people!
I am new in UFD. I need to include the electric fields applied on the ions and search they trajectories in combined influence - flow and electric field. The electric fields would be precalculated, using another software. I would like to know about whole procedure of working with UDF.
Where I need to write the code? How to compile and execute it? Where I should keep the files with precalculated electric fields? In what format they should be written? How I can call them?
I would be very appreciate if you refer me where I may read that in the simplest form (chapters in ANSYS FLUEN manuals, etc.)
serguei is offline   Reply With Quote

Old   February 10, 2017, 04:42
Default
  #2
New Member
 
Join Date: Dec 2016
Posts: 11
Rep Power: 9
TimTUBAF is on a distinguished road
Hi Serguei,

I'm also new to the UDF domain. I'm currently working on a problem which looks similar to yours (I'm working with an magnetic field instead of a electric field).

Quote:
search they trajectories in combined influence
I suppose the easiest way would be to apply an external force on your particle an see how they behave with it. There is a UDF-example in the UDF-Manual

Quote:
Where I need to write the code?
A UDF is written in C.

Regarding the compiling and the other things you ask I'm clueless.

Hope it will help, and sorry for my bad english.


Tim
serguei likes this.
TimTUBAF is offline   Reply With Quote

Old   February 10, 2017, 05:45
Default
  #3
Senior Member
 
Kevin
Join Date: Dec 2016
Posts: 138
Rep Power: 9
KevinZ09 is on a distinguished road
Quote:
Originally Posted by serguei View Post
Hello people!
I am new in UFD. I need to include the electric fields applied on the ions and search they trajectories in combined influence - flow and electric field. The electric fields would be precalculated, using another software. I would like to know about whole procedure of working with UDF.
Where I need to write the code? How to compile and execute it? Where I should keep the files with precalculated electric fields? In what format they should be written? How I can call them?
I would be very appreciate if you refer me where I may read that in the simplest form (chapters in ANSYS FLUEN manuals, etc.)
There's a whole manual on UDFs, called either UDF manual or Customization Manual I believe (name depends on the Fluent version you use). If you can't find it, just press on Help anywhere in Fluent, go to Search and search for something like define_profile. You'll be automatically directed to an entry in the UDF manual. It's a pretty thorough manual, so it should answer most of your above questions, like syntax, compiling, loading, hooking, executing, etc.
serguei likes this.
KevinZ09 is offline   Reply With Quote

Old   February 10, 2017, 18:20
Default
  #4
Member
 
Serguei
Join Date: Mar 2015
Posts: 33
Rep Power: 11
serguei is on a distinguished road
thank you very much!
serguei is offline   Reply With Quote

Old   February 10, 2017, 18:21
Default
  #5
Member
 
Serguei
Join Date: Mar 2015
Posts: 33
Rep Power: 11
serguei is on a distinguished road
thank you!
serguei is offline   Reply With Quote

Reply


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
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Meshing & Mesh Conversion 12 May 2, 2013 11:52
UDF Compiling - can't read ..\..\src\xxx_udf.c: No such file or directory willy Fluent UDF and Scheme Programming 0 March 28, 2013 12:22
Read profile file from UDF DonQuijote Fluent UDF and Scheme Programming 0 February 18, 2013 12:56
UDF to read data from a file for VOF model Pablo FLUENT 0 October 23, 2008 08:02
UDF to read and write data Mcgregor FLUENT 4 June 9, 2003 14:21


All times are GMT -4. The time now is 18:29.