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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 25 of 25
Search took 0.01 seconds.
Search: Posts Made By: Amir
Forum: Fluent UDF and Scheme Programming June 17, 2012, 07:38
Replies: 52
Views: 15,090
Posted By Amir
There isn't any conceptual difference. You cannot...

There isn't any conceptual difference. You cannot loop over particles according to their index or location because of sequential algorithm. You need to change your algorithm; maybe select another...
Forum: Fluent UDF and Scheme Programming June 17, 2012, 04:50
Replies: 52
Views: 15,090
Posted By Amir
Dear Shahryar, You cannot make a loop over...

Dear Shahryar,

You cannot make a loop over particles in this macro because the particles are tracked sequentially.

Bests,
Forum: Fluent UDF and Scheme Programming January 29, 2012, 15:10
Replies: 52
Views: 15,090
Posted By Amir
Hi, No, this equation is solved in decoupled...

Hi,

No, this equation is solved in decoupled manner with both pressure and density based solvers.

No, you can use this equation with any solver; it just adds additional equations.

Bests,
Forum: Fluent UDF and Scheme Programming January 29, 2012, 03:06
Replies: 52
Views: 15,090
Posted By Amir
The diffusivity of a substance in another is...

The diffusivity of a substance in another is obtained from kinetic theory and you have to find it from literature (D). This parameter has a dimension of (m2/s) but as I explained the scalar transport...
Forum: Fluent UDF and Scheme Programming January 28, 2012, 15:50
Replies: 52
Views: 15,090
Posted By Amir
Hi, sure; using Eulerian method seems...

Hi,

sure; using Eulerian method seems reasonable for your purpose if it matches with your goal; nevertheless, selecting Lagrangian procedure has few issues specially in nano particles; so the only...
Forum: Fluent UDF and Scheme Programming January 27, 2012, 03:35
Replies: 52
Views: 15,090
Posted By Amir
Hi, Do not hesitate to ask if it's not...

Hi,

Do not hesitate to ask if it's not clear. Just preparing a case is not helpful I think, because it's really case dependent.

Bests,
Forum: Fluent UDF and Scheme Programming August 23, 2011, 09:12
Replies: 52
Views: 15,090
Posted By Amir
Dear Iman, Generally, you can add number of...

Dear Iman,

Generally, you can add number of extra scalar transport to current solver; e.g.: \partial(\rho C)/\partial t+\nabla.(\rho UC)=\nabla.(D\nabla C) + sources
They are added to another...
Forum: Fluent UDF and Scheme Programming August 21, 2011, 09:35
Replies: 52
Views: 15,090
Posted By Amir
Dear Iman, I've done many projects concerning...

Dear Iman,
I've done many projects concerning nano particle distribution and confidently say that UDS is the best way of modelling it because it's applicable to both low and high volume fraction;...
Forum: Fluent UDF and Scheme Programming August 16, 2011, 11:37
Replies: 52
Views: 15,090
Posted By Amir
I recommend you not to use mixture model for your...

I recommend you not to use mixture model for your case; it's more than that you really need:D
Note, this is eulerian multi-phase model used for larger volume fractions. As you know, brownian motion...
Forum: Fluent UDF and Scheme Programming August 14, 2011, 03:26
Replies: 52
Views: 15,090
Posted By Amir
No, your algorithm is not right; in your previous...

No, your algorithm is not right; in your previous post, I just corrected your bad assignment but I didn't notice to other parts.(maybe that's my fault) :o
Anyway, you have used some unreferenced...
Forum: Fluent UDF and Scheme Programming August 7, 2011, 06:57
Replies: 52
Views: 15,090
Posted By Amir
Hi, you were trying to set real value to string...

Hi,
you were trying to set real value to string one!
try this:
#include "udf.h"
#define dp 50e-9
#define sigma_square 1.35305239e-19
#define ambpress 101325
#define Boltzmann 1.3806505e-23...
Forum: Fluent UDF and Scheme Programming May 15, 2011, 02:32
Replies: 52
Views: 15,090
Posted By Amir
Hey Iman, I've checked that for 10 time step...

Hey Iman,
I've checked that for 10 time step and it worked ! ensure that you've done this:
Define->models->DPM->UDF-> set the No. of scalars to 1
Forum: Fluent UDF and Scheme Programming May 2, 2011, 15:54
Replies: 52
Views: 15,090
Posted By Amir
Hi, yes of course; I also track particles with...

Hi,
yes of course; I also track particles with it !!!
when this error appears, it means that the libudf file is not created, so notice your compiling procedure or check that in different case files.
Forum: Fluent UDF and Scheme Programming May 2, 2011, 07:25
Replies: 52
Views: 15,090
Posted By Amir
Hi, in addition to above settings, try this...

Hi,
in addition to above settings, try this code:
Forum: Fluent UDF and Scheme Programming April 30, 2011, 15:20
Replies: 52
Views: 15,090
Posted By Amir
Hi Iman, before running your problem with this...

Hi Iman,
before running your problem with this UDF, you have to set the number of user variables in DPM panel. (you have used one user variable)
Define->models->DPM->UDF-> set the No. of scalars to...
Forum: Fluent UDF and Scheme Programming March 16, 2011, 09:04
Replies: 52
Views: 15,090
Posted By Amir
I proposed you to check the UDF for a simple...

I proposed you to check the UDF for a simple case(validate it). I didn't check it's accuracy before.:)
Forum: Fluent UDF and Scheme Programming March 15, 2011, 08:41
Replies: 52
Views: 15,090
Posted By Amir
Hi, you don't have linked FLUENT with VC++. ...

Hi,
you don't have linked FLUENT with VC++.
for more information refer to:
http://www.cfd-online.com/Forums/fluent-udf/85808-error-compiling-udf.html
Forum: Fluent UDF and Scheme Programming March 14, 2011, 10:40
Replies: 52
Views: 15,090
Posted By Amir
Hi Iman, you can't interpret this UDF because...

Hi Iman,
you can't interpret this UDF because P_CELL and P_CELL_THREAD need FLUENT solution, so you should compile that.
for compiling you need visual C++ 2000 or newer(at least ver 6.) installed...
Forum: Fluent UDF and Scheme Programming March 12, 2011, 10:17
Replies: 52
Views: 15,090
Posted By Amir
Hi Iman, I checked that as a compiled one, it...

Hi Iman,
I checked that as a compiled one, it didn't have any error!
compile your UDF instead.
Forum: Fluent UDF and Scheme Programming March 9, 2011, 11:59
Replies: 52
Views: 15,090
Posted By Amir
you can check the validity a function by viewing...

you can check the validity a function by viewing it's header in src folder, I checked that and it didn't exist so you should use particle scalar array for your purpose as follow:
first you should...
Forum: Fluent UDF and Scheme Programming March 9, 2011, 08:00
Replies: 52
Views: 15,090
Posted By Amir
Hi, it means that something is wrong in...

Hi,
it means that something is wrong in variables storage. i.e. you have stored a pointer parameter in a structure kind one.
in above UDF, use A*(...) syntax, also check the validity of P_VEL_M1...
Forum: Fluent UDF and Scheme Programming March 8, 2011, 09:35
Replies: 52
Views: 15,090
Posted By Amir
Hi Iman, I'm not sure that P_VEL_M1(p) exists...

Hi Iman,
I'm not sure that P_VEL_M1(p) exists in dpm.h library!
if it exist, that's true else you can implement user scalars for particles.
Forum: Fluent UDF and Scheme Programming March 5, 2011, 15:07
Replies: 52
Views: 15,090
Posted By Amir
Hi iman, C_U_M1(c,t) : flow x-velocity in...

Hi iman,
C_U_M1(c,t) : flow x-velocity in previous one time step
CURRENT_TIMESTEP : flow time step, you should use that to make your UDF independent of FLUENT changes in time step.

regards,
...
Forum: Fluent UDF and Scheme Programming March 5, 2011, 08:29
Replies: 52
Views: 15,090
Posted By Amir
Hi iman, first I think that you mean...

Hi iman,
first I think that you mean acceleration difference?am I right?
yes it's for the flow field part:
du/dt=(C_U(c,t)-C_U_M1(c,t))/CURRENT_TIMESTEP;
for particle part, you can implement user...
Forum: Fluent UDF and Scheme Programming March 5, 2011, 07:58
Replies: 52
Views: 15,090
Posted By Amir
first you should specify the cell index that...

first you should specify the cell index that contains particle, then you can use:
du=C_U(c,t)-C_U_M1(c,t)
Showing results 1 to 25 of 25

 
Forum Jump

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