-
-
August 7, 2018 at 8:31 am
Jimmyhan
SubscriberHi, I am Jimmy. I try to simulate mass transfer in a slit. You can see my model geometry. This simulation focused on salt distribution. When flow cross this slit where at the up and bottom wall were membranes for separating the salt water (NaCl 35kg/m^3) in the main flow, I would like to know the salt concentration near the surface of the membrane. By the way, there is a quite small salt flux flow in the main flow from the membranes which we think as rejected salt. My question is that I have read the subsection 1.3.2.3 mass sources, but I still can not set the source and source coefficient. another question is for my topic should I set the source for the next step transport simulation, or use salt water directly and try to use some equation in CCL? Thank you very much!
-
August 7, 2018 at 11:30 am
DrAmine
Ansys EmployeeA source is fully specified by an expression for its value .A source coefficient is optional, but can be specified to provide convergence enhancement
or stability for strongly-varying sources. The value of may affect the rate of convergence but should not affect the converged results.
If no suitable value is available for , the solution time scale or time step can still be reduced to help improve convergence of difficult source terms.
You can either work with multi-component flow and define the mixture as mixture of salt and fluid or you can solve salt as additional variable.
As ANSYS Staff member I cannot give you more support on this so that I hope that community members might pitch in
-
August 8, 2018 at 2:16 am
Jimmyhan
SubscriberThank you for your explanation. Maybe I should try to use other ways. But can you give me some suggestion about the setting? If I use the subdomain as source what different between setting total model as the subdomain and adding new material? Furthermore, if I follow your suggestion the results from the mixture of salt and fluid are same as setting as salt flow, right? the periodic boundaries are necessary, right?
-
August 8, 2018 at 7:59 am
DrAmine
Ansys EmployeeHi,
A simple multi-component approach (binary diffusion) would be similar to just working with additional variable. You have here the option to prescribe directly the mass fraction of salt in the mixture.
If your case is depicting a repetitive flow behavior (Gradient normal to the inflow/outflow boundaries of every variable except pressure is zero) then you can work with periodic boundaries
-
August 29, 2018 at 6:37 pm
rgfsteed
Ansys EmployeeHi Jimmy,
I'll explain subdomains first, but I think what you want is a surface source, not a volume source.
Subdomains allow you to apply a source across the entire volume of the subdomain. The "Source" option (units of [
/(m^3 s)] ) allows you to specify a local source as a field (which is integrated over each local control volume), whereas the "Total Source" option (units of [ /s]) allows you to specify a "total" source which is applied uniformly across the subdomain. If you need the source to vary across the domain, then use the "Source" option. Note that the units of the source also provide a hint as to what it's doing.
The source coefficient is only required if the source strength is a function of the current value of the variable for which you are providing a source. For example, if the salt source were a function of the concentration, then providing an expression for the first derivative (or a close estimate) of the source w.r.t. the concentration allows the solver to linearize the source (i.e. account for this change) when solving to improve convergence.
Sources at 2D regions
A 2D source can also be provided at any boundary. If your boundaries represent the membranes, then this is more likely what you need. On any boundary condition, visit the "Sources" tab to define a source. Once again, these can be provided as a locally varying field ("Flux" option with units [
/(m^2 s)]) or as a total source to distribute over the boundary ("Total Source" option with units [ /s]).
Note too that boundary sources can also be applied to the individual boundary conditions associated with interfaces.
Regards,
Robin -
August 31, 2018 at 2:06 am
Jimmyhan
SubscriberThank you very much for your such patiently explanation. According to your suggestion, there are my questions:
1. If I understand correctly, from the unit hint in my case the variables do not change with time, and the volume is same when I set the entire domain as a subdomain. The simulation results should be the same for whatever I use total source or subdomain source, right?
2. The source coefficient using is just for improving the convergence. Theoretically, its value can be set as a given value directly. And no need care about its accuracy if the convergence is in control. is it possible to try some small value?
3. I have to set the salt flux on up and down membrane to describe the salt rejection by the membranes. If I follow your suggestion. All I need to do is that setting the inlet boundary as a surface source for the main flow and assume my case as a mixing simulation. But what is the difference if I set inlet boundary as mass flow?
Thanks and Regards!
Jimmy
-
- The topic ‘Set source and source coefficient in mass transfer simulation’ is closed to new replies.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- legend min and max
- Ensight hot iron palette from an image
- Streamlines in EnSight using MRI data
- Import MRI data into Ensight
- FLUENT APPLICATIION ERROR
- Total Surface Heat Flux Calculation in Fluent
- Drop Test of a Water-Filled Tube
- Difference between “total pressure” and “absolute pressure”?
- obtaining pressure distribution by making points in ansys
- Minimum Orthogonal Quality Less than 0.01 For Transonic Airfoil Flow Analysis
-
8808
-
4658
-
3155
-
1688
-
1478
© 2023 Copyright ANSYS, Inc. All rights reserved.