|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Sugajen
Join Date: Jan 2012
Location: Tempe, USA
Posts: 52
Rep Power: 15 ![]() |
I am trying to assign a scalar value to an entire scalar field.
ppf.internalField() = pp; ppf.boundaryField() = pp; But getting an error saying "error: passing ‘const Internal {aka const Foam: imensionedField<double, Foam::volMesh>}’ as ‘this’ argument discards qualifiers [-fpermissive]ppf.internalField() = pp; " ^~ What is that I am going wrong ? |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| whats the cause of error? | immortality | OpenFOAM Running, Solving & CFD | 13 | March 24, 2021 08:15 |
| problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 05:18 |
| Issue symmetryPlane 2.5d extruded airfoil simulation | 281419 | OpenFOAM Running, Solving & CFD | 5 | November 28, 2015 14:09 |
| Diverging solution in transonicMRFDyMFoam | tsalter | OpenFOAM Running, Solving & CFD | 30 | July 7, 2014 07:20 |
| compressible flow in turbocharger | riesotto | OpenFOAM | 50 | May 26, 2014 02:47 |