CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

How to monitor the expansion height of a fluidized bed?

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

LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2024, 21:37
Default How to monitor the expansion height of a fluidized bed?
New Member
Join Date: Jun 2024
Posts: 6
Rep Power: 2
ss ss17 is on a distinguished road
Recently I've been simulating fluidized beds using the TFM method, and I need to report an X-Y plot of the height of the fluidized bed layer as a function of time during fluidization, which may require the use of a UDF?
ss ss17 is offline   Reply With Quote

Old   June 17, 2024, 02:27
Senior Member
Martin_Sz's Avatar
Join Date: May 2014
Location: Poland, Swiebodzin
Posts: 313
Rep Power: 13
Martin_Sz is on a distinguished road
You're absolutely right! A User Defined Function (UDF) in Fluent can be a great way to calculate and report the time-dependent height of the fluidized bed layer during simulation using the TFM (Two-Fluid Model). Here's how you can approach this:

**UDF for Bed Height Calculation:**

1. **Identify a reference point:** You need a reference point within the bed to define the height. This could be the bottom of the bed (easy to identify) or the interface between the dense and dilute phases (more complex but potentially more accurate).

2. **Volume or Area Integration:**
* **Volume Integration:** If using the bottom of the bed as a reference, you can integrate a user-defined scalar field representing the volume fraction of the solid phase (e.g., alpha_s) across the entire height of the bed. The height will be proportional to the integral value. This approach requires defining a virtual integration box encompassing the bed.
* **Area Integration:** If using the dense-dilute interface, you can integrate the alpha_s along a user-defined surface that captures the interface between the two phases. The average height can then be calculated based on the integrated value and the area of the surface.

3. **UDF Implementation:**
* The UDF will need to access the relevant data like alpha_s, cell coordinates, and potentially other variables depending on your chosen integration method.
* The UDF will then perform the integration (volume or area) and calculate the bed height based on the chosen reference point.
* Finally, the UDF can store the calculated height in a user-defined memory (UDM) location for later reporting.

**Reporting the Bed Height:**

* You can define a report or monitor in Fluent to track the UDM location where the bed height is stored. This will provide you with the time-dependent data for the X-Y plot.

**Additional Considerations:**

* The chosen reference point (bottom vs. interface) can affect the calculated height.
* Ensure the integration method captures the desired portion of the bed accurately.
* You might need to adjust the UDF based on your specific bed geometry and simulation setup.


* Fluent Documentation on UDFs: [ (This website provides a comprehensive guide on creating and using UDFs in Fluent)
* Examples of UDFs for particle tracking and other applications can be found online, which can provide a starting point for your own UDF development.

**Remember:** UDF development requires some programming knowledge in C. If you're not comfortable with coding, consider collaborating with someone who can help you implement the UDF.

By implementing a UDF for bed height calculation and using appropriate reporting tools, you can obtain the data needed for your X-Y plot and analyze the behavior of the fluidized bed during simulation.
Quick Tips and Tricks, Tutorials FLuent/ CFX (CFD)
Martin_Sz is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
expansion of bed in fluidized bed achy7pch FLUENT 6 June 17, 2024 02:28
Instantaneous bed height as a function of time, fluidized bed m.uzair FLUENT 1 June 15, 2024 08:33
[blockMesh] Create internal faces as patch in blockMesh m.delta68 OpenFOAM Meshing & Mesh Conversion 14 July 12, 2018 14:43
how to define the Static bed of height of fluidized bed in STAR-CCM+ ramakant STAR-CCM+ 7 September 22, 2015 09:25
UDF for bed height prediction in g/s fluidized bed reactorbeds Musa Fluent UDF and Scheme Programming 0 April 5, 2012 21:42

All times are GMT -4. The time now is 09:44.