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

How to monitor the expansion height of a fluidized bed?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2024, 22:37
Default How to monitor the expansion height of a fluidized bed?
  #1
New Member
 
hulenan
Join Date: Jun 2024
Posts: 8
Rep Power: 2
ss ss17 is on a distinguished road
Hi,everyone
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, 03:27
Default
  #2
Senior Member
 
Martin_Sz's Avatar
 
Marcin
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.

**Resources:**

* Fluent Documentation on UDFs: [https://www.ansys.com/training-cente...functions-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)
https://howtooansys.blogspot.com/
Martin_Sz is offline   Reply With Quote

Reply


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


All times are GMT -4. The time now is 00:38.