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 17 of 17
Search took 0.00 seconds.
Search: Posts Made By: pakk
Forum: Fluent UDF and Scheme Programming March 20, 2015, 04:52
Replies: 70
Views: 7,048
Posted By pakk
Don't ask us, just check this in your simulation...

Don't ask us, just check this in your simulation results!

Even if they are not converged, they show the mass-flow through your inlet.
Forum: Fluent UDF and Scheme Programming March 20, 2015, 02:55
Replies: 70
Views: 7,048
Posted By pakk
See your question and my answer on 3 March. ...

See your question and my answer on 3 March.


Weird... :confused: Why do you repeat this question, if you already have an answer? If the answer was not sufficient, then say so.
Forum: Fluent UDF and Scheme Programming March 3, 2015, 04:12
Replies: 70
Views: 7,048
Posted By pakk
for- /* for time = .0001s to .01410s with .0001...

for- /* for time = .0001s to .01410s with .0001 increment */
You don't need to set this in the UDF, you set the time in Fluent using the transient settings.
Then, you can just use
t=CURRENT_TIME
...
Forum: Fluent UDF and Scheme Programming February 26, 2015, 05:25
Replies: 70
Views: 7,048
Posted By pakk
Ok, then your basic layout for the execute-at-end...

Ok, then your basic layout for the execute-at-end should be:

- start with SUMMEDVOLUME=0 and SUMMEDFRACTION=0
- go through all fluid bodies. for each fluid body:
- go through all cells. for...
Forum: Fluent UDF and Scheme Programming February 26, 2015, 04:44
Replies: 70
Views: 7,048
Posted By pakk
Ok, now your intentions become more clear. ...

Ok, now your intentions become more clear.
Allow me to paraphrase in my own words the steps that you want Fluent to take.

- Fluent should, at every iteration, set the mass-flow at your inlet at a...
Forum: Fluent UDF and Scheme Programming February 26, 2015, 03:12
Replies: 70
Views: 7,048
Posted By pakk
What is the goal of this question? Getting rid of...

What is the goal of this question? Getting rid of all the warnings in Fluent? Or getting a UDF that does what you want?

Right now, you only seem to care about getting rid of all the warnings....
Forum: Fluent UDF and Scheme Programming February 25, 2015, 08:10
Replies: 70
Views: 7,048
Posted By pakk
From your actions, it appears that you didn't...

From your actions, it appears that you didn't fully understand the problem. (Which is not bad, programming can be hard if you are not used to it.)

In your change, you changed the name "th" to "t"...
Forum: Fluent UDF and Scheme Programming February 25, 2015, 02:51
Replies: 70
Views: 7,048
Posted By pakk
Your guess was wrong: "th" is the undeclared...

Your guess was wrong: "th" is the undeclared variable.

The line says, translated into English: m is a pointer to a material, and gets the value of the material of "th".

But Fluent has no idea...
Forum: Fluent UDF and Scheme Programming February 23, 2015, 09:10
Replies: 70
Views: 7,048
Posted By pakk
It means you have an undeclared variable at line...

It means you have an undeclared variable at line 5.

Your line 5 is:
Material *m = THREAD_MATERIAL(th);
Even if you don't know anything about programming, you could guess that there are four...
Forum: Fluent UDF and Scheme Programming December 17, 2014, 03:43
Replies: 70
Views: 7,048
Posted By pakk
In your code, you are only including "udf.h". You...

In your code, you are only including "udf.h". You should change the code so it also includes "threads.h".

Nevertheless: it is worth the effort to install a compiler.
Forum: Fluent UDF and Scheme Programming December 16, 2014, 08:13
Replies: 70
Views: 7,048
Posted By pakk
Or compile it instead of interpreting. This is...

Or compile it instead of interpreting. This is true in general: compiling works better than interpreting.
Forum: Fluent UDF and Scheme Programming December 16, 2014, 08:12
Replies: 70
Views: 7,048
Posted By pakk
According to the help, THREAD_MATERIAL is defined...

According to the help, THREAD_MATERIAL is defined in threads.h. You probably need to include threads.h for it to work.
Forum: Fluent UDF and Scheme Programming November 17, 2014, 03:27
Replies: 70
Views: 7,048
Posted By pakk
Are you able to compile different udfs, or is...

Are you able to compile different udfs, or is only this udf the problem?
Forum: Fluent UDF and Scheme Programming October 13, 2014, 06:14
Replies: 70
Views: 7,048
Posted By pakk
I am sorry, but I still don't understand. I see...

I am sorry, but I still don't understand.
I see no need to specify a cell number anywhere, I don't know why you would want to specify a cell number anywhere, I don't know which function the cell...
Forum: Fluent UDF and Scheme Programming October 13, 2014, 05:23
Replies: 70
Views: 7,048
Posted By pakk
Hi visitor, I don't understand your...

Hi visitor,

I don't understand your question: where do you want to specify a cell face number?

For your code, the line 'C_P(c,t)' should be removed, and you need to choose to call the thread...
Forum: Fluent UDF and Scheme Programming September 16, 2014, 09:14
Replies: 70
Views: 7,048
Posted By pakk
It is no problem that you asked a question. Up to...

It is no problem that you asked a question. Up to and including your message of September 11, 2014 12:23, all your questions were fine. And then macfly gave you an answer to show you which direction...
Forum: Fluent UDF and Scheme Programming September 15, 2014, 14:12
Replies: 70
Views: 7,048
Posted By pakk
Do you realize that you are are asking somebody...

Do you realize that you are are asking somebody else to do your work? It is good that Macfly does not do that.

If you give it your best shot, don't succeed, and post your effort here, people will...
Showing results 1 to 17 of 17

 
Forum Jump

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