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

Error in UDF calling parameters from ANSYS WorkBench

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 6, 2018, 19:52
Default Error in UDF calling parameters from ANSYS WorkBench
  #1
Member
 
Vish
Join Date: Dec 2016
Location: Purdue University, IN, USA.
Posts: 59
Rep Power: 13
anand32 will become famous soon enough
Hi Everyone

I require some help .

I am simulating FSI in ANSYS WorkBench for fluid flow inside a micro-tube. The velocity boundary condition at inlet is a fully developed flow corresponding to a particular flow rate. This boundary condition is realized by writing a UDF while the flow rate is passed on to the FLUENT as a parameter from WorkBench. (The UDF is attached).
1. When I run the simulation in Windows, I "interpret" the UDF and it works fine.
2. However, when I transfer files to a Linux machine, then interpreter gives error: cpp: output pipe has been closed.
3. I found from internet that compiling the file (as opposed to interpreting it) will solve the problem.
4. However, I am a little lost on how to compile a udf which takes parameters from the WorkBench. Should the source file be compiled at every design point (because at every design point, the value of the parameter changes). Or should the compilation be done only one? And where should the source file be kept actually? Do I need to take into account anything else, considering that I need to run on parallel nodes.
Please advice.
Attached Images
File Type: jpeg WhatsApp Image 2018-04-06 at 5.28.33 PM.jpeg (94.9 KB, 8 views)
anand32 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
Ansys Workbench 17.1 not showing up..? AlexRonto ANSYS 3 May 5, 2022 03:28
A CFX-POST error (ver 14.5.7) wangyflp88 CFX 2 July 22, 2017 00:17
ANSYS Workbench is hanging or taking too much time opening CFX tab after crashing Mfaizan CFX 1 April 15, 2016 02:46
Can you help me with a problem in ansys static structural solver? sourabh.porwal Structural Mechanics 0 March 27, 2016 17:07
Can't find Ansys workbench in CentOS idil ANSYS 1 October 11, 2012 08:44


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