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

complex source term

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 10, 2022, 01:55
Default complex source term
  #1
New Member
 
shouvik ghorui
Join Date: Oct 2019
Posts: 15
Rep Power: 6
shouvik ghorui is on a distinguished road
Hi everyone,
I want to implement this(below) scalar transport equation. where Rz is a source term, expressed as below where u_n and u both are particle velocity only.
I have implemented
fvm::ddt(C)
+fvm::div(phiup,C)
-fvm::laplacian(gammaPsi,C)
==
(1/rp)*gammaPsi*Foam::mag(fvc::grad(C))
-fvm::SuSp(Foam::mag(up)/rp,C)
my confusion is related to the source term, Is there any other way to work with this source term. (taking mag of velocity is okay?)
I am not getting the correct results using this. Any suggestion would be helpful. Thanks.




note:
I am getting the result(wrong) which may be due to the large sink term(-fvm::SuSp(Foam::mag(up)/rp,C).
Attached Images
File Type: png scalar_transportt.png (7.5 KB, 9 views)
File Type: png rp.png (7.9 KB, 6 views)
shouvik ghorui is offline   Reply With Quote

Reply

Tags
scalar transport, source, source terms

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 08:06
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error FerdiFuchs OpenFOAM Community Contributions 27 April 16, 2014 15:14
Adding additional complex source term to BuoyantBoussinesqPisoFoam solver pajofego OpenFOAM Programming & Development 2 April 9, 2013 17:00
[swak4Foam] funkySetFields compilation error tayo OpenFOAM Community Contributions 39 December 3, 2012 05:18


All times are GMT -4. The time now is 15:44.