implementing a particle distribution

  • 112 Views
  • Last Post 11 December 2019
  • Topic Is Solved
kashiraman99 posted this 06 December 2019

Hi all:

Can we use a population balance model to have particles with different diameters in my Fluidised bed? If so how?

Is there a better way?

Order By: Standard | Newest | Votes
abenhadj posted this 06 December 2019

Yes. Might be combined with granular model. You might require your own user defined kernels. Other way using DDPM .

Best regards, Amine

  • Liked by
  • kashiraman99
kashiraman99 posted this 09 December 2019

Thank you for your reply,

I am trying to find bed height as a function of time, to do this I have written an UDF, which returns the height where the double derivative of the volume fraction is zero(Change of volume fraction is maximum at the interface).

When I tried to compile it showed me these errors

"Copied D:\1Projects\#4FluidisedBed_files\computational_project_new_files\dp0\FFF\Fluent/D:\1Projects\#4FluidisedBed_files\computational_project_new_files\dp0\FFF\Fluent\differential_udf.c to libudf\src

udf_names.c and user_nt.udf files in 2ddp_host are upto date.

(system "copy "C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v194\fluent"\fluent19.4.0\src\udf\makefile_nt.udf "libudf\win64\2ddp_host\makefile" ")

1 file(s) copied.

(chdir "libudf")(chdir "win64\2ddp_host")# Generating ud_io1.h

differential_udf.c

C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v194\fluent\fluent19.4.0\src\main\global.h(9): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory

udf_names.c and user_nt.udf files in 2ddp_node are upto date.

(system "copy "C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v194\fluent"\fluent19.4.0\src\udf\makefile_nt.udf "libudf\win64\2ddp_node\makefile" ")

1 file(s) copied.

(chdir "libudf")(chdir "win64\2ddp_node")# Generating ud_io1.h

differential_udf.c

C:\PROGRA~1\ANSYSI~1\ANSYSS~1\v194\fluent\fluent19.4.0\src\main\global.h(9): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory "

The error messages have been highlighted in bold.

I did not type or mention stdio.h in my UDF.

How do I run my udf?

Also, can interfaces be tracked and height plotted without a different way?

Thank you for your time

abenhadj posted this 09 December 2019

What about using the curvature register directly? Or iso surface of volume fraction. I cannot commend on your error message as it requires looking into the udf.

Best regards, Amine

  • Liked by
  • kashiraman99
kashiraman99 posted this 11 December 2019

Thank you for your answers,

I want to get a plot of height of interface vs time step/time, how to achieve that using curvature registers?

 

 

 

abenhadj posted this 11 December 2019

You can say that the surface height is where the volume fraction of the particulate phase tends to zero or based on average volume fraction in the whole domain. You take that value and create an iso-surface of it. You then report the max. coordinate of it.

 

Check: doi:10.1155/2012/956975

Best regards, Amine

Close