|
[Sponsors] |
June 20, 2022, 11:22 |
expected ‘)’ before ‘:’ token
|
#1 |
New Member
Mona
Join Date: Mar 2022
Posts: 5
Rep Power: 4 |
Hi, does anybody know how can I fix the error?
my code: fvm:: Sp(dalphadt : (alpha+0.001), ctilde) error: expected ‘)’ before ‘:’ token |
|
June 20, 2022, 12:30 |
|
#2 |
Senior Member
Join Date: Oct 2017
Posts: 121
Rep Power: 8 |
Are you trying to divide "dalphadt" by "(alpha+0.001)"? If so, you must use "/" instead of ":".
|
|
June 20, 2022, 15:59 |
|
#3 | |
New Member
Mona
Join Date: Mar 2022
Posts: 5
Rep Power: 4 |
Quote:
I just wanna mention that alpha has a small value. because I see this error at the end. Foam::error:: printStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::writeFuns::insert(double, Foam:: DynamicList<float, 0u, 2u, 1u>&) at ??:? #4 void Foam::writeFuns::write<double>(std:: ostream&, bool, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::vtkMesh const&) at ??:? #5 ? at ??:? #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #7 ? at ??:? |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 04:18 |
error compiling modified applications | yvyan | OpenFOAM Programming & Development | 21 | March 1, 2016 04:53 |
POSDAT problem | piotka | STAR-CD | 4 | June 12, 2009 08:43 |
wmake compiling Problem with OF1.5 | openTom | OpenFOAM Installation | 4 | May 3, 2009 14:44 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 17:51 |