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

Search Results

Register Blogs Members List Search Today's Posts Mark Forums Read

Showing results 1 to 11 of 11
Search took 0.00 seconds.
Search: Posts Made By: macfly
Forum: Fluent UDF and Scheme Programming January 5, 2015, 09:48
Replies: 70
Views: 7,048
Posted By macfly
I gave you a full, commented example of how to...

I gave you a full, commented example of how to use DEFINE_EXECUTE_AT_END and DEFINE_PROFILE, now it's your turn to personalize my example for your problem. I'm trying to help and you keep reposting...
Forum: Fluent UDF and Scheme Programming January 4, 2015, 23:16
Replies: 70
Views: 7,048
Posted By macfly
Then refer to this post:...

Then refer to this post: http://www.cfd-online.com/Forums/fluent-udf/133883-varying-mass-flow-inlet-boundary-condition-fuel-mass-flow-2.html#post522192

You need a DEFINE_EXECUTE_AT_END to read the...
Forum: Fluent UDF and Scheme Programming December 29, 2014, 23:45
Replies: 70
Views: 7,048
Posted By macfly
That's not going to work because i is an argument...

That's not going to work because i is an argument of the DEFINE_PROFILE and then you declare a new i within the macro. An error will pop out. What are you trying to do exactly, read CO2 content...
Forum: Fluent UDF and Scheme Programming December 17, 2014, 10:14
Replies: 70
Views: 7,048
Posted By macfly
- The function mixture_specie_index can only be...

- The function mixture_specie_index can only be used with compiled UDFs.
- No need to include threads.h.
- I think you're confusing the i in DEFINE_PROFILE(inlet_mf,th,i) and the i for the co2,...
Forum: Fluent UDF and Scheme Programming December 16, 2014, 08:29
Replies: 70
Views: 7,048
Posted By macfly
As Pakk wrote, it probably needs to be compiled.

As Pakk wrote, it probably needs to be compiled.
Forum: Fluent UDF and Scheme Programming December 2, 2014, 22:23
Replies: 70
Views: 7,048
Posted By macfly
Hi Sam, it's totally doable. Here's a UDF...

Hi Sam, it's totally doable.

Here's a UDF that
1. initialize some stuff
2. compute area-averaged T on a boundary at the end of each time step
3. define inlet profile as a function of what has...
Forum: Fluent UDF and Scheme Programming October 13, 2014, 10:39
Replies: 70
Views: 7,048
Posted By macfly
face_t f; is missing the pressure variable has...

face_t f; is missing
the pressure variable has to be declared first
Forum: Fluent UDF and Scheme Programming September 15, 2014, 07:15
Replies: 70
Views: 7,048
Posted By macfly
I will not do it for you... If you are starting...

I will not do it for you...
If you are starting learning, the UDF Guide is your best reference in order to learn the basics, not the forum. You will never get answers in the forum that are as clear...
Forum: Fluent UDF and Scheme Programming September 11, 2014, 11:20
Replies: 70
Views: 7,048
Posted By macfly
Hi AH, I'm not sure I have a good...

Hi AH,

I'm not sure I have a good understanding of your problem. A pressure drop between what and what?

But the general answer is that all your routines can be in the same udf file. You will...
Forum: Fluent UDF and Scheme Programming April 28, 2014, 09:29
Replies: 70
Views: 7,048
Posted By macfly
There is a step-by-step example in chapter 8 of...

There is a step-by-step example in chapter 8 of UDF Manual 15.0. Please go through this example to get acquainted with UDFs.
Forum: Fluent UDF and Scheme Programming April 24, 2014, 21:42
Replies: 70
Views: 7,048
Posted By macfly
Just add as many "else if" you need to this...

Just add as many "else if" you need to this example from Ansys Fluent UDF Manual 15.0:

2.3.19.11. Example 9 - Mass Flow Rate UDF for the Mass Flow Inlet
This UDF is used to provide a time-varying...
Showing results 1 to 11 of 11

 
Forum Jump

All times are GMT -4. The time now is 04:14.