|
[Sponsors] |
Mesquite - Adaptive mesh refinement / coarsening? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 6, 2013, 14:48 |
|
#21 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
I think I spoke too soon. I forgot to mention that the library was compiled in Debug, and this worked without problems. Now that I compiled optimized, I see the seg-fault. Hmm... Maybe you could run it through valgrind and see?
|
|
January 6, 2013, 15:02 |
|
#22 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
In a way.... "whew" :-)!
I can/should run it through Valgrind using the optimised build right? I just deleted all the libraries and applications created by compiling dynamicTopoFvMesh, cleared my "ccache", and shall compile your master branch again from scratch. In addition, I just cloned the OpenFOAM-2.1.x repository, but getting OpenFOAM-2.1.x compiled, up and running will take a while I think :-)! I am way to used to the "-ext" stream.... specially the Third-party magic my Martin. Passing information..... I just pushed the modifications I made for the field based scaling into the fork I made. |
|
January 6, 2013, 15:32 |
|
#23 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
Okay - the segfault is because of the line:
<< " faceMap: " << fm[faceI] << nl in topoPatchMapper.C at line: 378. If you comment it out, you get the actual error message, which relates to missing addressing, instead of a seg-fault. As a work-around for now, you can comment out line 363 in topoPatchMapper.C, which is: if (isA<processorPolyPatch>(patch_.patch())) This has the effect of artifically mapping from face 0 in the patch, which may not be a big worry in your case, because the problem is steady state. I'll figure out a fix in the mean time. Learnt a nice lesson today - you can compile optimized with -O3 AND include debug symbols with -g, and the stack trace will contain line numbers instead of plain function names! |
|
January 6, 2013, 16:03 |
|
#24 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Actually, that seems to be what valgrind reported too.....:
The invalid read size of 4 from the calcAddressing function. Code:
*** Mapping is being skipped *** Mapping time: 0.262998 s Reordering time: 1.45873 s ==32423== Invalid read of size 4 ==32423== at 0xC1BF3A7: Foam::topoPatchMapper::calcAddressing() const (in /home/philippose/OpenFOAM/philippose-1.6-ext/lib/linux64GccDPOpt/libdynamicTopoFvMesh.so) ==32423== by 0xC1C0161: Foam::topoPatchMapper::addressing() const (in /home/philippose/OpenFOAM/philippose-1.6-ext/lib/linux64GccDPOpt/libdynamicTopoFvMesh.so) ==32423== by 0x461C40: Foam::Field<double>::autoMap(Foam::FieldMapper const&) (in /home/philippose/OpenFOAM/philippose-1.6-ext/applications/bin/linux64GccDPOpt/mySimpleFoam) ==32423== by 0xC06CAFA: void Foam::conservativeMapVolFields<double>(Foam::topoMapper const&) (in /home/philippose/OpenFOAM/philippose-1.6-ext/lib/linux64GccDPOpt/libdynamicTopoFvMesh.so) ==32423== by 0xC053C55: Foam::dynamicTopoFvMesh::mapFields(Foam::mapPolyMesh const&) const (in /home/philippose/OpenFOAM/philippose-1.6-ext/lib/linux64GccDPOpt/libdynamicTopoFvMesh.so) ==32423== by 0xC057089: Foam::dynamicTopoFvMesh::resetMesh() (in /home/philippose/OpenFOAM/philippose-1.6-ext/lib/linux64GccDPOpt/libdynamicTopoFvMesh.so) ==32423== by 0xC05AE85: Foam::dynamicTopoFvMesh::update() (in /home/philippose/OpenFOAM/philippose-1.6-ext/lib/linux64GccDPOpt/libdynamicTopoFvMesh.so) ==32423== by 0x423A62: main (in /home/philippose/OpenFOAM/philippose-1.6-ext/applications/bin/linux64GccDPOpt/mySimpleFoam) ==32423== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==32423== ==32423== ==32423== HEAP SUMMARY: ==32423== in use at exit: 69,190,681 bytes in 856,812 blocks ==32423== total heap usage: 6,860,255 allocs, 6,003,443 frees, 32,053,601,945 bytes allocated ==32423== ==32423== LEAK SUMMARY: ==32423== definitely lost: 0 bytes in 0 blocks ==32423== indirectly lost: 0 bytes in 0 blocks ==32423== possibly lost: 30,450,860 bytes in 725,719 blocks ==32423== still reachable: 38,739,821 bytes in 131,093 blocks ==32423== suppressed: 0 bytes in 0 blocks ==32423== Rerun with --leak-check=full to see details of leaked memory ==32423== ==32423== For counts of detected and suppressed errors, rerun with: -v ==32423== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2 from 2) Segmentation fault (core dumped) Thanks a lot for the solution idea.... shall do this and let you know what happened in about 45 minutes or so (dinner time now :-)!). Philippose |
|
January 6, 2013, 17:47 |
|
#25 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Hi Sandeep,
I made the modification you suggested, and the system now goes past this point without any errors :-)! Thanks a lot. Now I have come to the next obstacle on the path..... At the iteration when the remeshing takes place, the Poisson flus corrector is called, and then, the usual solver variables are solved. At this stage, after the "pcorr" Poisson corrector steps, all the residuals in the Ux, Uy, Uz, p, epsilon, k variables jump up by a huge value, and the simulation aborts when solving the epsilon equation. I have attached a copy of the last few iterations before this takes place. I tried different settings for the PISO non-orthogonal correctors in the flux corrector step, but nothing seems to work. Again.... am I missing something, am I doing something wrong, or have you seen this before? Is there something special to be considered when using the Poisson corrector? Or is it meant for only some specific cases (only laminar, etc..?)? Also attached is a copy of the checkMesh at the beginning of the simulation. Philippose |
|
January 6, 2013, 17:50 |
|
#26 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
I also tried different solvers and tolerances for the "pcorr" variable required by the flux corrector.... GAMG, and PCG.
Still no change to the situation. |
|
January 7, 2013, 09:46 |
|
#27 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
So the debug version of the library seems to proceed normally after remeshing, while the optimized version fails. Could you compare the two by printing out fields before and after field remapping? That might narrow down the scope of the problem. I sure hope this isn't a compiler optimization issue - that would be really annoying...
|
|
January 7, 2013, 12:13 |
|
#28 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Hello Sandeep,
A good day to you! Sorry for the delay in replying to your post. Work started again today. Regarding the fact that the simulation seems to work fine in debug mode... When you tested that out, did you also have mapping enabled?? The settings in the case I sent you had "skipMapping" set true. The current issue is with "skipMapping" set to false. Basically, after the discussion we had yesterday, I made the changes suggested by you and then tried to run the simulation with mapping enabled. The code does not fail anymore at the point it used to fail before, but somewhere after the Poisson corrector. I am wondering whether I should try running the remesher at a higher frequency. It was set to an interval of 200... Maybe something like 20 would make the difference between the original mesh and the remeshed one lower or more acceptable to the flow solvers. I cannot really compare fields before and after the remeshing because it aborts at a point where none of the new fields have been written yet. I have to see if I can get it to write out "p" and "U" before it tries to solve the turbulence variables.... that way we can compare part of the fields after remeshing. shall get back with some results once I am back home. Philippose |
|
January 7, 2013, 14:33 |
|
#29 | |
Senior Member
Daniele Vicario
Join Date: Mar 2009
Location: Novara, Italy
Posts: 142
Rep Power: 17 |
Hello Philippose and Sandeep,
Sorry to interrupt your discussion but will the method Philippose presented Quote:
In specific: can it be used to work with crushing cells (valve closure) ? I understood Philippose was speaking about refining of a mesh, but what if you send back to Netgen the topological changed mesh ? Can Netgen manage the valve closure case ? I'm sorry about my question but I must admit I read your discussion and I'm a bit lost. Thanks.
__________________
Daniele Vicario blueCFD2.1 - Windows 7 |
||
January 7, 2013, 18:10 |
|
#30 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Hello Sandeep,
So.... I tried the following: 1. Increasing the frequency of the remeshing routine to every 2 intervals. The simulation still aborts with a segmentation fault when solving the epsilon equation while solving for the usual simpleFoam flow variables after the mapping+flux correction (pcorr) 2. Interestingly, I just tried a run with valgrind, and it turned up with the reason for the crash to be: Code:
==22525== Stack overflow in thread 1: can't grow stack to 0x7fe801f38 ==22525== Can't extend stack to 0x7fe800ff0 during signal delivery for thread 1: ==22525== no stack segment ==22525== ==22525== Process terminating with default action of signal 11 (SIGSEGV) ==22525== Access not within mapped region at address 0x7FE800FF0 ==22525== at 0x4DAF8C3: Foam::incompressible::RASModels::epsilonWallFunctionFvPatchScalarField::updateCoeffs() (in /opt/Simulation/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64GccDPOpt/libincompressibleRASModels.so) ==22525== If you believe this happened as a result of a stack ==22525== overflow in your program's main thread (unlikely but ==22525== possible), you can try to increase the size of the ==22525== main thread stack using the --main-stacksize= flag. ==22525== The main thread stack size used in this run was 8388608. ==22525== Stack overflow in thread 1: can't grow stack to 0x7fe801eb1 ==22525== ==22525== Process terminating with default action of signal 11 (SIGSEGV) ==22525== Access not within mapped region at address 0x7FE801EB1 ==22525== at 0x4801690: _vgnU_freeres (vg_preloaded.c:58) ==22525== If you believe this happened as a result of a stack ==22525== overflow in your program's main thread (unlikely but ==22525== possible), you can try to increase the size of the ==22525== main thread stack using the --main-stacksize= flag. ==22525== The main thread stack size used in this run was 8388608. ==22525== Have you tried this case on your machine with an optimised build, and with mapping enabled? Have a great evening ahead, and thanks a lot for the help :-)! Philippose |
|
January 7, 2013, 18:55 |
|
#31 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
I just tried with a "laminar" turbulence model, so that no additional variables other than "p" and "U" are solved for, and now the simulation seems to be going through the remeshing+mapping stages without any problems.
The first run I tried was with the original settings of 100 l/min, and it crashed after 150 iterations, but that may have been because the flow was not laminar. Its now running with a flow of 50 l/min, and is currently at around 1200 iterations, with remeshing being done every 200 iterations..... The convergence is not very good though..... I think some images of the results would be ready tomorrow. Once unrelated question though..... when you sent me the screen-shots from Paraview the other day, you had somehow managed to cleanly cut the mesh, with the edges only of the cut surface visible instead of the usually messy "surface with edges" result one sees when looking at a "clipped" mesh.... How did you do that?? Have a great evening ahead! Philippose |
|
January 7, 2013, 23:03 |
|
#32 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
Bad convergence could be due to mesh quality. You should have the mesh smoother do more work at each iteration to improve the mesh. Mesh quality typically degrades with a large number of bisections / collapses - you can limit that using maxModifications and / or the sliverThreshold (0.35 is what I typically use). You appear to have a minimum quality of 0.1 after remeshing - which is poor.
Note that you don't "have" to use conservative remapping - take a look at the dynamicTopoFvMesh::mapFields member - it conservatively remaps only for scalars / vectors, but not tensors. You can revert to it to the regular non-conservative way and see if that changes something. The clipping bit is easy - use the "select cells" widget on the ParaView toolbar after aligning your view to one of the standard axes (can't remember which). Carefully select through using the frustum, invert the selection using the Selection Inspector, and use Filter -> Extract Selection... |
|
January 8, 2013, 18:21 |
|
#33 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Hello Sandeep,
A Good day to you :-)! I have been looking around through the library today, and have a couple of points.... might be best done in a numbered fashion: 1. First and foremost, thanks a lot for that trick in Paraview for getting a clean cut of the mesh. Things looks so much better and clearer this way :-)! 2. I changed the sliverThreshold factor to 0.35. The mesh smoothing was already set to an interval of "1". I had not looked too deep into the mesh quality outputs during the simulation... sorry about that. 3. Could you give me some more insight into the settings for the smoother? As of now, I have the following primary settings.... can you tell me if they are ok? ======================== tcInner : absGradL2 = 1.0e-04 tcInner : <no limit on CPU time... commented out> Surface Smoothing CG Solver : tolerance = 1.0e-08 Surface Smoothing CG Solver : nSweeps = 10 Surface Smoothing CG Solver : relaxationFactor = 0.8 surfInterval = 1 ======================== Are there any other settings I need to be looking into?? 4. I was looking into the field mapping routine in the library, compared to the "mapFields" function in the OpenFOAM fvMesh class. Is there a specific reason why you only chose to perform a conservative mapping only for vectors and scalars, and not for the other types? However, just for the sake of clarity.... conservative mapping is primarily required only for transient simulations right? In the case of a steady state simulation, wouldnt the errors which creep in due to a non-conservative mapping get ironed out by the following iterations? Or am I mistaken on this front? I could remove the conservative mapping, and put back the usual ones from fvMesh.... or is it possible (does it make sense) to call the conservative mapping members also for the tensor types? 5. Following your idea, I compiled my incompressible RAS turbulence models with a "-g" flag, and then ran the simulation with mapping enabled using valgrind, and got the following segmentation fault: Code:
~~~ Mesh Quality Statistics ~~~ Min: 0.324886 Max: 0.99915 Mean: 0.838364 Cells: 42648 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DILUPBiCG: Solving for Ux, Initial residual = 0.281394, Final residual = 0.000138178, No Iterations 2 DILUPBiCG: Solving for Uy, Initial residual = 0.988645, Final residual = 0.00056611, No Iterations 2 DILUPBiCG: Solving for Uz, Initial residual = 0.990267, Final residual = 0.000575066, No Iterations 2 GAMG: Solving for p, Initial residual = 0.961406, Final residual = 0.00574013, No Iterations 3 GAMG: Solving for p, Initial residual = 0.655898, Final residual = 0.00285498, No Iterations 3 GAMG: Solving for p, Initial residual = 0.168068, Final residual = 0.000662986, No Iterations 3 time step continuity errors : sum local = 10.3702, global = 0.00443729, cumulative = 0.00757052 bounding epsilon, min: -14862.6 max: 403126 average: 12662 ==27693== Stack overflow in thread 1: can't grow stack to 0x7fe801f58 ==27693== Can't extend stack to 0x7fe801010 during signal delivery for thread 1: ==27693== no stack segment ==27693== ==27693== Process terminating with default action of signal 11 (SIGSEGV) ==27693== Access not within mapped region at address 0x7FE801010 ==27693== at 0x4DAF8C3: Foam::incompressible::RASModels::epsilonWallFunctionFvPatchScalarField::updateCoeffs() (epsilonWallFunctionFvPatchScalarField.C:173) Code:
void epsilonWallFunctionFvPatchScalarField::updateCoeffs() { if (updated()) { return; } // If G field is not present, execute zero gradient evaluation // HJ, 20/Mar/2011 if (!db().foundObject<volScalarField>(GName_)) <-- line 173 { zeroGradientFvPatchScalarField::evaluate(); return; } const RASModel& rasModel = db().lookupObject<RASModel>("RASProperties"); const scalar yPlusLam = rasModel.yPlusLam(kappa_, E_); const scalarField& y = rasModel.y()[patch().index()]; On a side note, the minimum mesh quality is 0.324 in this case.... not overly bad I guess given that it started with a minimum quality of 0.308. So... thats where I have reached so far :-)! I shall look into running the same simulation without conservative mapping and see if goes through or not.... Wishing you a great evening ahead! Philippose |
|
January 9, 2013, 17:33 |
|
#34 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Hi Sandeep,
Just wanted to inform you, that I temporarily disabled conservative mapping, and put in the normal non-conservative variant from OpenFOAM for vectors and scalars too. The simulation now runs even for cases with turbulence enabled. The results are not yet what I am expecting, but there are no more segmentation faults. Now I need to understand the whole remeshing concept a little more.... and in addition to the questions in the last post, I have a couple more :-)! 1. When I set the "sliverThreshold" to a value which is lesser than the minimum mesh quality as shown by the quality metrics, it causes the remeshing algorithms to be called at every iteration till the minimum mesh quality reaches this threshold, though the "interval" has been set to something else...... Is this behaviour a wanted one? 2. What happens when patches are not specified under any of the types such as "floatingLength", "fixedLength" or "noModification"? How is the lengthScale defined, and under what condition do such patches get refined? The reason for the question is..... it seems that such patches get refined until the "minLengthScale" is reached, whether it is required or not..... is there a specific reason for this behaviour? Or are all patches expected to be categorised into one of the types? 3. In the mesquiteMotionSolver, is the setting "nSweeps" used only for smoothing of patches, or also for smoothing the internal mesh? Is the internal mesh also smoothed each time when the mesquiteMotionSolver function is called from within dynamicTopoFvMesh? I shall continue looking through the code, and hopefully I will find answers to some of my queries as I go :-)! Thanks for your help! Have a great day! Philippose |
|
January 9, 2013, 17:44 |
|
#35 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
1. This is intended behavior. It becomes an issue in transient cases with large deformations, where a large remesh interval is insufficient and the code crashes. This way, a remesh is triggered if the quality goes below the threshold.
2. If no value has been specified, the existing face area is scaled as defined in lengthScaleEstimator::fixedLengthScale. If that is not sufficient, specify a scale that works. 3. The sweeps are only for surfaces. This is basically a linear corrector for curved surfaces. On flat surfaces and the interior mesh, this has no effect. Why would you need sweeps for the interior anyway? |
|
January 9, 2013, 18:04 |
|
#36 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Ah :-)!
1. Ok.... so the sliverThreshold based remeshing is intended.... cool... 2. I shall look into the "fixedLengthScale" member function again, but would you have an idea why these patches (those not explicitly defined) get eventually refined right down to the "minLengthScale"? 3. I was under the impression that the mesh smoothing for the internal mesh and boundary mesh (which I assume is done to improve the mesh quality) is done iteratively, with the mesh quality tending to get better with each sweep, and either stopping when the maximum number of sweeps has been reached, or when say... something like the difference in mesh quality between the previous sweep and the current one goes below some threshold. It looks like I have probably not understood the way the mesh smoothing has been implemented within the mesquiteMotion library..... If you have the time, it would be great if you could also look at my post from yesterday? The point 4. in that post is still unclear to me..... Thanks once again! Philippose |
|
January 9, 2013, 18:17 |
|
#37 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
2. Perhaps you could check the usePolyMesh flag is false (the default) when fixedLengthScale is called, otherwise a scale of 0 is returned, which explains why there's excessive refinement. Be careful though - because it uses the polyMesh face areas, and if this function is called for newly added faces that came from refinement, you'll get a beautiful seg-fault.
3. You may want to set a cpuTime in tcInner options, to ensure that the smoother spends some time smoothing the mesh. This is a mesh optimization process - not a Gauss-Seidel type iterative approach (although that might be happening at the lower levels), so sweeps don't make sense. No particular reason why it can't be called for tensors - except that you can't take the gradient of a tensor in FOAM - the templates haven't been instantiated yet. One way to enable it is to split tensor fields into 3 vector fields and use a component-wise gradient. |
|
January 22, 2013, 06:46 |
|
#38 | |
Senior Member
mahdi abdollahzadeh
Join Date: Mar 2011
Location: Covilha,Portugal
Posts: 153
Rep Power: 15 |
Quote:
I have used the solver of philippose and its compiled. I have also previously compiled the dynamictopofvmesh. Im working on openfoam 2.1.x . when Im trying to run the test case of philipps, its giving me the following error Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time --> FOAM Warning : From function dlOpen(const fileName&, const bool) in file POSIX.C at line 1175 dlopen error : libconservativeMeshToMesh.so: cannot open shared object file: No such file or directory --> FOAM Warning : From function dlLibraryTable::open(const fileName&, const bool) in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 96 could not load "libconservativeMeshToMesh.so" Create mesh for time = 0 Selecting dynamicFvMesh dynamicTopoFvMesh Selecting metric Knupp Selecting motion solver: mesquiteMotionSolver --> FOAM FATAL ERROR: solver table is empty From function motionSolver::New(const polyMesh& mesh) in file motionSolver/motionSolver.C at line 94. FOAM exiting Mahdi |
||
January 22, 2013, 09:26 |
|
#39 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
Mahdi,
If you want to compile with OpenFOAM-2.1.x, switch to the Port-2.1.x branch of the git repository. |
|
January 22, 2013, 09:31 |
|
#40 | |
Senior Member
mahdi abdollahzadeh
Join Date: Mar 2011
Location: Covilha,Portugal
Posts: 153
Rep Power: 15 |
Quote:
I had done that before. in Fact when i was compiling the dynamictopochange. i had these errors: Code:
In file included from mesquiteMotionSolver.C:27: mesquiteMotionSolver.H:143: error: ‘Mesquite’ was not declared in this scope mesquiteMotionSolver.H:143: error: template argument 1 is invalid mesquiteMotionSolver.H:155: error: ‘Mesquite’ was not declared in this scope mesquiteMotionSolver.H:155: error: template argument 1 is invalid mesquiteMotionSolver.H:155: error: template argument 1 is invalid mesquiteMotionSolver.H:158: error: ‘Mesquite’ was not declared in this scope mesquiteMotionSolver.H:158: error: template argument 1 is invalid mesquiteMotionSolver.H:161: error: ‘Mesquite’ was not declared in this scope mesquiteMotionSolver.H:161: error: template argument 1 is invalid mesquiteMotionSolver.H:164: error: ‘Mesquite’ has not been declared mesquiteMotionSolver.H:164: error: ISO C++ forbids declaration of ‘TerminationCriterion’ with no type mesquiteMotionSolver.H:164: error: expected ‘;’ before ‘tcInner_’ mesquiteMotionSolver.H:165: error: ‘Mesquite’ has not been declared mesquiteMotionSolver.H:165: error: ISO C++ forbids declaration of ‘TerminationCriterion’ with no type mesquiteMotionSolver.H:165: error: expected ‘;’ before ‘tcOuter_’ mesquiteMotionSolver.C: In member function ‘void Foam::mesquiteMotionSolver::readOptions()’: mesquiteMotionSolver.C:380: error: ‘Mesquite’ has not been declared mesquiteMotionSolver.C:380: error: expected ‘;’ before ‘err’ mesquiteMotionSolver.C:383: error: request for member ‘insert’ in ‘((Foam::mesquiteMotionSolver*)this)->Foam::mesquiteMotionSolver::qMetricTable_’, which is of non-class type ‘int’ mesquiteMotionSolver.C:386: error: ‘Mesquite’ was not declared in this scope mesquiteMotionSolver.C:386: error: template argument 1 is invalid mesquiteMotionSolver.C:388: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:388: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:392: error: request for member ‘insert’ in ‘((Foam::mesquiteMotionSolver*)this)->Foam::mesquiteMotionSolver::qMetricTable_’, which is of non-class type ‘int’ mesquiteMotionSolver.C:395: error: ‘Mesquite’ cannot appear in a constant-expression mesquiteMotionSolver.C:395: error: template argument 1 is invalid mesquiteMotionSolver.C:397: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:397: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:401: error: request for member ‘insert’ in ‘((Foam::mesquiteMotionSolver*)this)->Foam::mesquiteMotionSolver::qMetricTable_’, which is of non-class type ‘int’ mesquiteMotionSolver.C:404: error: ‘Mesquite’ cannot appear in a constant-expression mesquiteMotionSolver.C:404: error: template argument 1 is invalid mesquiteMotionSolver.C:406: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:406: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:410: error: request for member ‘insert’ in ‘((Foam::mesquiteMotionSolver*)this)->Foam::mesquiteMotionSolver::qMetricTable_’, which is of non-class type ‘int’ mesquiteMotionSolver.C:413: error: ‘Mesquite’ cannot appear in a constant-expression mesquiteMotionSolver.C:413: error: template argument 1 is invalid mesquiteMotionSolver.C:415: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:415: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:419: error: request for member ‘insert’ in ‘((Foam::mesquiteMotionSolver*)this)->Foam::mesquiteMotionSolver::qMetricTable_’, which is of non-class type ‘int’ mesquiteMotionSolver.C:422: error: ‘Mesquite’ cannot appear in a constant-expression mesquiteMotionSolver.C:422: error: template argument 1 is invalid mesquiteMotionSolver.C:424: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:424: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:428: error: request for member ‘insert’ in ‘((Foam::mesquiteMotionSolver*)this)->Foam::mesquiteMotionSolver::qMetricTable_’, which is of non-class type ‘int’ mesquiteMotionSolver.C:431: error: ‘Mesquite’ cannot appear in a constant-expression mesquiteMotionSolver.C:431: error: template argument 1 is invalid mesquiteMotionSolver.C:433: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:433: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:437: error: request for member ‘insert’ in ‘((Foam::mesquiteMotionSolver*)this)->Foam::mesquiteMotionSolver::qMetricTable_’, which is of non-class type ‘int’ mesquiteMotionSolver.C:440: error: ‘Mesquite’ cannot appear in a constant-expression mesquiteMotionSolver.C:440: error: template argument 1 is invalid mesquiteMotionSolver.C:442: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:442: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:446: error: request for member ‘insert’ in ‘((Foam::mesquiteMotionSolver*)this)->Foam::mesquiteMotionSolver::qMetricTable_’, which is of non-class type ‘int’ mesquiteMotionSolver.C:449: error: ‘Mesquite’ cannot appear in a constant-expression mesquiteMotionSolver.C:449: error: template argument 1 is invalid mesquiteMotionSolver.C:451: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:451: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:455: error: request for member ‘insert’ in ‘((Foam::mesquiteMotionSolver*)this)->Foam::mesquiteMotionSolver::qMetricTable_’, which is of non-class type ‘int’ mesquiteMotionSolver.C:458: error: ‘Mesquite’ cannot appear in a constant-expression mesquiteMotionSolver.C:458: error: template argument 1 is invalid mesquiteMotionSolver.C:460: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:460: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:485: error: request for member ‘found’ in ‘((Foam::mesquiteMotionSolver*)this)->Foam::mesquiteMotionSolver::qMetricTable_’, which is of non-class type ‘int’ mesquiteMotionSolver.C:491: error: request for member ‘toc’ in ‘((Foam::mesquiteMotionSolver*)this)->Foam::mesquiteMotionSolver::qMetricTable_’, which is of non-class type ‘int’ mesquiteMotionSolver.C:510: error: request for member ‘found’ in ‘((Foam::mesquiteMotionSolver*)this)->Foam::mesquiteMotionSolver::qMetricTable_’, which is of non-class type ‘int’ mesquiteMotionSolver.C:514: error: request for member ‘toc’ in ‘((Foam::mesquiteMotionSolver*)this)->Foam::mesquiteMotionSolver::qMetricTable_’, which is of non-class type ‘int’ mesquiteMotionSolver.C:613: error: ‘Mesquite’ cannot appear in a constant-expression mesquiteMotionSolver.C:613: error: template argument 1 is invalid mesquiteMotionSolver.C:613: error: template argument 1 is invalid mesquiteMotionSolver.C:613: error: invalid type in declaration before ‘(’ token mesquiteMotionSolver.C:621: error: invalid types ‘int[Foam::label]’ for array subscript mesquiteMotionSolver.C:623: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:623: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:637: error: invalid types ‘int[Foam::label]’ for array subscript mesquiteMotionSolver.C:639: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:639: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:635: warning: unused variable ‘pValue’ mesquiteMotionSolver.C:653: error: invalid types ‘int[Foam::label]’ for array subscript mesquiteMotionSolver.C:655: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:655: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:671: error: invalid types ‘int[Foam::label]’ for array subscript mesquiteMotionSolver.C:673: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:673: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:667: warning: unused variable ‘power’ mesquiteMotionSolver.C:685: error: invalid types ‘int[Foam::label]’ for array subscript mesquiteMotionSolver.C:687: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:687: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:698: error: invalid types ‘int[Foam::label]’ for array subscript mesquiteMotionSolver.C:700: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:700: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:715: error: invalid types ‘int[Foam::label]’ for array subscript mesquiteMotionSolver.C:717: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:717: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:712: warning: unused variable ‘power’ mesquiteMotionSolver.C:745: error: request for member ‘set’ in ‘((Foam::mesquiteMotionSolver*)this)->Foam::mesquiteMotionSolver::objFunction_’, which is of non-class type ‘int’ mesquiteMotionSolver.C:747: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:747: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:760: error: request for member ‘set’ in ‘((Foam::mesquiteMotionSolver*)this)->Foam::mesquiteMotionSolver::objFunction_’, which is of non-class type ‘int’ mesquiteMotionSolver.C:762: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:762: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:775: error: request for member ‘set’ in ‘((Foam::mesquiteMotionSolver*)this)->Foam::mesquiteMotionSolver::objFunction_’, which is of non-class type ‘int’ mesquiteMotionSolver.C:777: error: expected type-specifier before ‘Mesquite’ mesquiteMotionSolver.C:777: error: expected ‘)’ before ‘Mesquite’ mesquiteMotionSolver.C:790: error: request for member ‘set’ in ‘((Foam::mesquiteMotionSolver*)this)->Foam::mesquiteMotionSolver::objFunction_’, which is of non-class type ‘int’ |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
[snappyHexMesh] snappyHexMesh refinement regions ignored | guitarbren | OpenFOAM Meshing & Mesh Conversion | 2 | April 9, 2013 04:59 |
[snappyHexMesh] non-smooth mesh | Svensson | OpenFOAM Meshing & Mesh Conversion | 11 | January 18, 2012 10:13 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |
basic of mesh refinement | arya | CFX | 4 | June 19, 2007 13:21 |