an Error in compiling:Foam::zeroField Foam::fvm::Sp(const Foam::zero&, const Foam
this error occurred while compiling pimpleFoam:
Code:
ehsan@Ehsan-com:~/Desktop/Solvers/pimpleFoamModified$ wclean |
You didn't show the lines of code around the actual error, "gasEqn.H:6", namely from the file "gasEqn.H", around line 6.
The error indicates that you tried to use "Sp(something)", namely only used one argument, when it actually needs 2 or more arguments. |
1 Attachment(s)
:confused:I copied the whole message!
Code:
ehsan@Ehsan-com:~/Desktop/Solvers/pimpleFoamModified$ wclean |
Here we go, this is the line I wanted to see, since it's the one the compiler is complaining about, on line 6:
Code:
-fvm::Sp(gas) |
thanks.I now asked it in passive scalar thread to write the equation for an incompressible flow.
|
All times are GMT -4. The time now is 08:04. |