|
[Sponsors] |
How to multiply volScalarField and fvScalarMatrix ? |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 | |||
Member
Paul Palladium
Join Date: Jan 2016
Posts: 86
Rep Power: 7 ![]() |
Dear Foamers,
I am interested in multiplying or dividing a fvScalarMatrix by a volScalarField. In a case of a fvc operator like fvc::div or fvc::laplacian the code compiles. For example : Quote:
Quote:
Unfortunately when it comes to implicit operator (fvm) the code doesn't compile : Quote:
How can we solve this issue ? Am I asking something unrealistic ? In a pure mathematical way it makes sense. But OpenFOAM doesn't seem to like it. All help would absolutely be helpful. F Last edited by Fauster; December 3, 2020 at 04:08. Reason: Modification due to Onurb comment |
||||
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Bruno
Join Date: Jul 2018
Posts: 6
Rep Power: 4 ![]() |
Hello Fauster,
laplacian is misspelled. |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
Member
Paul Palladium
Join Date: Jan 2016
Posts: 86
Rep Power: 7 ![]() |
Sorry Onurb. I made a mistake when writing the text but in the code this is
Quote:
I can copy paste the message error at compilation but for me it's like this is not authorized by OpenFOAM. For example if you try to do something like fvc::interpolate(surfaceScalarField). Last edited by Fauster; December 3, 2020 at 04:07. |
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
No matching function error: Phase change source term added to interMixingFoam | wavefunction | OpenFOAM Programming & Development | 1 | November 7, 2019 05:42 |
Source term in fvScalarMatrix | vivek05 | OpenFOAM Programming & Development | 2 | June 6, 2019 08:30 |
fvMatrix to volScalarField coversion ? | lfgmarc | OpenFOAM Programming & Development | 3 | March 21, 2019 07:32 |
Error message | Bruno_Jorge | Main CFD Forum | 1 | February 5, 2019 12:12 |
namespace Foam | Argen | OpenFOAM | 4 | February 5, 2019 09:55 |