CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

source term in a specific position

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2022, 10:36
Default source term in a specific position
  #1
New Member
 
manou mouna
Join Date: Jan 2022
Posts: 7
Rep Power: 4
Manouu is on a distinguished road
Hi, I'm working on laminar flow in a cylindrical pipe and I want to add uniform volume force as source term to pipe center not in all domain, how can i do that please? any help will be appreciated
Manouu is offline   Reply With Quote

Old   February 7, 2022, 07:07
Default
  #2
New Member
 
manou mouna
Join Date: Jan 2022
Posts: 7
Rep Power: 4
Manouu is on a distinguished road
any help please ???
Manouu is offline   Reply With Quote

Old   February 8, 2022, 05:26
Default
  #3
New Member
 
Michal
Join Date: Jul 2015
Location: Poland
Posts: 5
Rep Power: 10
michall is on a distinguished road
One simple option is that you can implement the source into your equation and initialize using setFields
michall is offline   Reply With Quote

Old   February 8, 2022, 05:27
Default
  #4
New Member
 
Michal
Join Date: Jul 2015
Location: Poland
Posts: 5
Rep Power: 10
michall is on a distinguished road
We have done this some time ago here

adding a constant volumetric source term to transport equation in a particular region
michall is offline   Reply With Quote

Old   February 8, 2022, 06:25
Default
  #5
New Member
 
manou mouna
Join Date: Jan 2022
Posts: 7
Rep Power: 4
Manouu is on a distinguished road
thank you for your reply, just a question, when I create a new field as source term, can I study the effect of this force on the velocity field?
Manouu is offline   Reply With Quote

Old   February 8, 2022, 11:34
Default
  #6
New Member
 
manou mouna
Join Date: Jan 2022
Posts: 7
Rep Power: 4
Manouu is on a distinguished road
I don't want to make new field, I want to add a force that affect on the velocity
Manouu 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
How to add Source term (2) for PYROLYSIS - reactingOneDim Kummi OpenFOAM 10 April 12, 2021 21:11
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 16:02
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error FerdiFuchs OpenFOAM Community Contributions 27 April 16, 2014 15:14
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 13:59
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44


All times are GMT -4. The time now is 21:30.