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

scalarTransportFoam OF11 and 12

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2024, 12:14
Default scalarTransportFoam OF11 and 12
  #1
New Member
 
Join Date: Apr 2023
Posts: 12
Rep Power: 3
elBombastico is on a distinguished road
Hi,


I have been using for years, a home made solver implemented on the basis of scalarTransportFoam (OF8). Not very fancy, but it does what I need.
Since the implementation of the modular solvers (OF11), scalarTransportFoam "has been superseded and replaced by the more general functions solver module executed by the foamRun application". Interestingly enough, potentialFoam is still there.

I cannot compile scalarTransportFoam against OF11/12, because some of the headers are not included in the newer versions, and modification of the scalarTransport function to fit my needs does not seem trivial.

Other than modifying potentialFoam for that purpose, what would be, in your opinion, the easiest way to replicate the scalarTransportFoam solver ?


Thanks for your help
elBombastico is offline   Reply With Quote

Old   September 4, 2024, 12:40
Default
  #2
Senior Member
 
Join Date: Oct 2017
Posts: 131
Rep Power: 9
Krapf is on a distinguished road
v8 tutorial: https://github.com/OpenFOAM/OpenFOAM...Foam/pitzDaily


v12 tutorial: https://github.com/OpenFOAM/OpenFOAM...calarTransport
Krapf is offline   Reply With Quote

Old   September 4, 2024, 12:58
Default
  #3
New Member
 
Join Date: Apr 2023
Posts: 12
Rep Power: 3
elBombastico is on a distinguished road
Hi,


Thanks, for your reply.
I was aware of the existence of these tutorials. I also know that you can simulate scalar transport with the function included in v12.


My problem is: I extended v8 scalarTransportFoam to 10+ scalars, with source terms and many parameters (e.g. reaction constants, partition coefficients). This cannot be done by specification in system/functions. I would need to modify the scalarTransport function itself, which I think largely exceeds my abilities. The easiest would be to modify an already existing solver if there is still anything remotely similar (e.g. potentialFoam).


I think the only solution is gonna be trial and error
elBombastico is offline   Reply With Quote

Reply

Tags
modular solver, scalartransportfoam


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



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