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

How to simulate a passive scaler transport?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Siba11
  • 1 Post By Siba11

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2023, 12:02
Default How to simulate a passive scaler transport?
  #1
New Member
 
Angkon Biswas
Join Date: Jul 2023
Posts: 13
Rep Power: 2
Angkon is on a distinguished road
Hi, I want to acquire concentration profile(concentration gradient) iodine injected into blood within left coronary artery, here iodine is the passive scaler and I only need to consider advection diffusion through blood i.e. non-reactive process.
Here boundary conditions that are applied for blood flow are:
1) No slip boundary condition at artery wall,
2) Pulsatile velocity and pressure profile at inlet and outlet respectively, using udf.

I am confused how to define the passive scaler or which module should I use : CFX or Fluent, what should I use multiphase or multispecies or user defined scaler or 'the species option in fluent'. how do I define the source of the scaler what mole fraction should I use?

Thank you in advance.
Angkon is offline   Reply With Quote

Old   July 11, 2023, 03:51
Default
  #2
Member
 
Odisha
Join Date: Jan 2020
Posts: 59
Rep Power: 6
Siba11 is on a distinguished road
Hey. You can use both CFX and Fluent.

Although, I have personally used Fluent. You don't need to use any multiphase models. Just define a UDS (User Defined Scalar) and track its concentration inside your domain.

To define the UDS source, you can go into the "cell zone conditions", and activate the UDS Source term.
Angkon likes this.
Siba11 is offline   Reply With Quote

Old   July 11, 2023, 10:47
Default
  #3
New Member
 
Angkon Biswas
Join Date: Jul 2023
Posts: 13
Rep Power: 2
Angkon is on a distinguished road
Quote:
Originally Posted by Siba11 View Post
Hey. You can use both CFX and Fluent.

Although, I have personally used Fluent. You don't need to use any multiphase models. Just define a UDS (User Defined Scalar) and track its concentration inside your domain.

To define the UDS source, you can go into the "cell zone conditions", and activate the UDS Source term.
Thank you for your response,
can you provide any reference or tutorial for setting up this model. or provide any uds code reference?
I would be grateful.
Angkon is offline   Reply With Quote

Old   July 12, 2023, 00:48
Default
  #4
New Member
 
Angkon Biswas
Join Date: Jul 2023
Posts: 13
Rep Power: 2
Angkon is on a distinguished road
should I include flux function for convection?
Angkon is offline   Reply With Quote

Old   July 12, 2023, 10:03
Default
  #5
Member
 
Odisha
Join Date: Jan 2020
Posts: 59
Rep Power: 6
Siba11 is on a distinguished road
To begin with, we first need to switch ON the user-defined scalar transport equations. (UDS transport equations). This UDS will act as a passive tracer that will flow with the fluid. Since it is ‘passive’, it will not affect the velocity or pressure variables.
Flux Function solves for the convection term (and should be chosen ‘mass flow rate’).
Unsteady Function should be set to ‘default’ to incorporate the transient terms in the CDR equation. The source term will be added from the ‘cell zone condition’. The diffusion term is handled in the ‘Materials’ dialog box under uds-per-diffusivity.

The UDS transport equation has been set up, and this scalar can be accessed via the macro C_UDSI(c,t,0).
Angkon likes this.
Siba11 is offline   Reply With Quote

Old   July 15, 2023, 00:42
Default
  #6
New Member
 
Angkon Biswas
Join Date: Jul 2023
Posts: 13
Rep Power: 2
Angkon is on a distinguished road
Quote:
Originally Posted by Siba11 View Post
To begin with, we first need to switch ON the user-defined scalar transport equations. (UDS transport equations). This UDS will act as a passive tracer that will flow with the fluid. Since it is ‘passive’, it will not affect the velocity or pressure variables.
Flux Function solves for the convection term (and should be chosen ‘mass flow rate’).
Unsteady Function should be set to ‘default’ to incorporate the transient terms in the CDR equation. The source term will be added from the ‘cell zone condition’. The diffusion term is handled in the ‘Materials’ dialog box under uds-per-diffusivity.

The UDS transport equation has been set up, and this scalar can be accessed via the macro C_UDSI(c,t,0).
do i need to add source term in the udf and is injection rate necessary?
Angkon is offline   Reply With Quote

Old   July 23, 2023, 09:22
Default
  #7
Member
 
Chhotelal
Join Date: Jun 2023
Posts: 31
Rep Power: 2
Chhotelal1234 is on a distinguished road
For the moisture transport, We have to define UDSI inside a User define function depending on which phase we have chosen, such that if we choose the gas phase then Xf = C_UDSI (c, t, 0) should be written like this.
Am I right or wrong?
Chhotelal1234 is offline   Reply With Quote

Reply

Tags
blood flow, concentration gradient, iodine as passive scaler, passive scalar, pulsatile flow


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
How to simulate a passive scaler transport? Angkon FLUENT 1 July 4, 2023 14:53
How to simulate a passive scaler transport? Angkon Fluent Multiphase 0 July 4, 2023 12:00
How to simulate a passive scaler transport? Angkon ANSYS 0 July 2, 2023 23:45
Non-reactive and Non-diffusive passive scalar transport 17221058 FLUENT 0 January 28, 2023 04:14
How to simulate sediment transport and waves at the beach seapotato OpenFOAM Pre-Processing 0 November 4, 2022 17:46


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