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

Adding tensor support to fvm::Sp()

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2021, 12:11
Default Adding tensor support to fvm::Sp()
  #1
Member
 
Join Date: Jun 2016
Posts: 99
Rep Power: 9
xuegy is on a distinguished road
Hello all,

I know there's a duplicate question Understanding fvm::Sp() but I have new questions.
I'm solving a fvTensorMatrix. In the equation there's a term A&B(simply matrix multiplication), where A is a volTensorField and B is the volTensorField to solve. I know currently OpenFOAM doesn't support solving it implicitly. But it looks very intrinsic to add it to the matrix.
Is it possible to implement this kind of operation in fvm::Sp by myself? If so, is it possible to compile the code externally without touching the original file?

Thanks.
xuegy 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
Incorporating pyrolysis Model in chtMultiRegionFoam Archana V OpenFOAM Programming & Development 31 April 2, 2022 02:11
multiRegionHeater error ordinary OpenFOAM Running, Solving & CFD 2 June 9, 2020 17:43
chtMultiRegionSimpleFoam: crash on parallel run student666 OpenFOAM Running, Solving & CFD 3 April 20, 2017 11:05
conjugateHeatFoam + interFoam farhagim OpenFOAM Programming & Development 15 July 19, 2016 07:55
chtMultiRegionSimpleFoam samiam1000 OpenFOAM Running, Solving & CFD 39 March 31, 2016 08:43


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