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

UDF and cfx and C++

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By mjgraf

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 10, 2013, 09:19
Default UDF and cfx and FORTRAN
  #1
New Member
 
Asak
Join Date: Jan 2013
Posts: 22
Rep Power: 13
hasbi is on a distinguished road
HI
Is it possible to write UDF for cfx like fluent?
I want to do mesh and solve and post-procesing in cfx by call from c++ or fortran!!!

Is it possible?

Thanks
Hasbi Asak

Last edited by hasbi; January 12, 2013 at 11:02.
hasbi is offline   Reply With Quote

Old   January 10, 2013, 10:15
Default
  #2
Senior Member
 
Join Date: Dec 2009
Posts: 131
Rep Power: 20
mjgraf is on a distinguished road
not sure exactly what the UDF in Fluent does, but CFX allows Fotran 77 and 90 user routines.

In the CFX-Solver Modeling Guide, refer to Chapter 18: User Fortran.


Quote:
Originally Posted by hasbi View Post
HI
Is it possible to write UDF for cfx like fluent?
I want to do mesh and solve and post-procesing in cfx by call from c++ or fortran!!!

Is it possible?

Thanks
Hasbi tvz
alikhube likes this.
mjgraf is offline   Reply With Quote

Old   January 11, 2013, 04:52
Default cfx Fortran
  #3
New Member
 
Asak
Join Date: Jan 2013
Posts: 22
Rep Power: 13
hasbi is on a distinguished road
Thank you Mjgraf for your help
In an algorithm I want to give point to the cfx and call it from FORTRAN for meshing(or update mesh) and solve and post process automatically

is it possible???

thanks

Last edited by hasbi; January 11, 2013 at 05:39.
hasbi is offline   Reply With Quote

Old   January 11, 2013, 06:40
Unhappy Help me
  #4
New Member
 
hi
Join Date: Dec 2012
Posts: 19
Rep Power: 14
alikhube is on a distinguished road
I was search for link the CFX and matlab and here I undrestsnd that I should link fortran and cfx!!!
I work on an optimization problem and I should solve many airfoils and recall it from fortran.
My process is similar to bahsi , so my control points value is changed and I must to mesh,setup solving and solve
If anyone can write its code here because I am new in cfx and fortran and my time for do project is finishing.
Thank every one for attention
alikhube is offline   Reply With Quote

Old   January 11, 2013, 10:08
Default
  #5
Senior Member
 
Join Date: Dec 2009
Posts: 131
Rep Power: 20
mjgraf is on a distinguished road
are you looking to add a new feature to CFX solver or just script the process of meshing, pre, solve and post?

This is possible and if you not familiar with the coding I think if the process is setup in Workbench you can export a batch/script file. Hopefully someone more familiar with workbench can chime in as I do not use workbench.

Quote:
Originally Posted by hasbi View Post
Thank you Mjgraf for your help
In an algorithm I want to give point to the cfx and call it from FORTRAN for meshing(or update mesh) and solve and post process automatically

is it possible???

thanks
mjgraf is offline   Reply With Quote

Old   January 17, 2013, 03:15
Default
  #6
New Member
 
hi
Join Date: Dec 2012
Posts: 19
Rep Power: 14
alikhube is on a distinguished road
Tkank you
So who can give me an example for batch file???
For pre solve post and if it possible for mesh???
I am new in CFX
alikhube 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
Fluent UDF in CFX CFX User CFX 9 July 25, 2023 10:20
Vessel filling process - CFX vs Fluent Benchmark nav_5 CFX 7 May 4, 2017 01:27
UDF in CFX commonyue CFX 0 November 24, 2010 18:11
CFX Additional Variable Transport Equation Scott Nordsen CFX 3 January 30, 2010 06:36
I have an error with UDF into ANSYS CFX 11.0 Minh Ngoc CFX 5 August 18, 2008 04:07


All times are GMT -4. The time now is 11:32.