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

How to implement point source or volume source in pipe flow module of COMSOL

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 2, 2021, 10:12
Default How to implement point source or volume source in pipe flow module of COMSOL
  #1
New Member
 
Natasha
Join Date: Jan 2020
Posts: 7
Rep Power: 6
Natasha is on a distinguished road
I'm trying to do a simple implementation to study the advection-diffusion-reaction dynamics in a straight pipe.

I have points positioned along the length of the pipe (blue dots in the image above).

I came across a blog ([link](https://www.comsol.com/blogs/how-to-...the-weak-form/)) that explains how a point source is implemented. However, I am not really sure how to adapt it in this case.

The equation that captures the concentration dynamics is the following


The R in the last term of RHS corresponds to sink/source and the units is generally defined in mol/m^3 s. I want to define R = kc where the units of k is per sec. But I want to define R only at the points colored blue (i.e only as a point source/sink and not as a line source or sink).

I would like to ask for suggestions on how this implementation can be done.
By default COMSOL allows the implementation of a line source since the source/sink term R is associated with area.

[1]: https://i.stack.imgur.com/mDdtnm.png
[2]: https://i.stack.imgur.com/08Rkw.png
Natasha is offline   Reply With Quote

Old   June 8, 2021, 01:26
Default
  #2
New Member
 
Natasha
Join Date: Jan 2020
Posts: 7
Rep Power: 6
Natasha is on a distinguished road
Any suggestions?
Natasha is offline   Reply With Quote

Reply

Tags
comsol 5.5


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
[OpenFOAM.com] swak4foam compiling issues on a cluster saj216 OpenFOAM Installation 5 January 17, 2023 16:05
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 ordinary OpenFOAM Installation 19 September 3, 2019 18:13
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 13:59
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


All times are GMT -4. The time now is 08:57.