|
[Sponsors] |
Problem running pimpleFoam in magnus effect simulation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 15, 2021, 14:27 |
Problem running pimpleFoam in magnus effect simulation
|
#1 |
Senior Member
Alan w
Join Date: Feb 2021
Posts: 284
Rep Power: 6 |
First off, I am using openFoam8.
This is to do a simulation using pimpleFoam to simulate a rotating boundary layer around a cylinder in order to produce the magnus effect. My goal is to eventually incorporate this into a car simulation, in lieu of rotating meshes at the wheels, but I digress. I modelled the cylinder in solidworks, and get a nice mesh with 2 boundary layers via snappyHexMesh. PotentialFoam runs okay. But when I run pimpleFoam, I get this error: Code:
Create time Create mesh for time = 0 PIMPLE: No convergence criteria found PIMPLE: No corrector convergence criteria found Calculations will do 2 corrections PIMPLE: Operating solver in transient mode with 2 outer correctors Reading field p Reading field U Reading/calculating face flux field phi Selecting incompressible transport model Newtonian Selecting turbulence model type RAS Selecting RAS turbulence model kEpsilon [1] [1] [1] --> FOAM FATAL IO ERROR: [1] Illegal dictionary entry or environment variable name "internalField" Valid dictionary entries are 1(type) [1] [1] file: /home/boffin5/cfdaero/mag-cyl/processor1/0/k/cyclicACMI from line 21 to line 21. [1] [1] From function bool Foam::primitiveEntry::expandVariable(const Foam::variable&, const Foam::dictionary&) [1] in file db/dictionary/primitiveEntry/primitiveEntry.C at line 92. [1] FOAM parallel run exiting P { margin-bottom: 0.08in } |
|
June 15, 2021, 15:53 |
problem solved, I think
|
#2 |
Senior Member
Alan w
Join Date: Feb 2021
Posts: 284
Rep Power: 6 |
It turns out that I have to be careful to put the #includeEtc "caseDicts/setConstraintTypes" line just after 'boundaryField' line, and not before, in each of the 0/* files.
This always seems to happen, that after trying hard to solve a problem and then giving up and bothering people for help, I find the answer. Not Murphy's law, but there must be a name for it. But I will assuredly have more problems! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem running parallel simulation | denis08 | OpenFOAM Running, Solving & CFD | 3 | May 27, 2022 02:56 |
Help with a problem running MPPICFoam | Quefrency | OpenFOAM Running, Solving & CFD | 1 | June 7, 2020 16:12 |
Huge file sizes when Running VOF simulation | aarratia | FLUENT | 0 | May 8, 2014 13:27 |
Problem running IDDES with pimpleFoam | charlie | OpenFOAM Running, Solving & CFD | 7 | July 11, 2013 12:45 |
Kubuntu uses dash breaks All scripts in tutorials | platopus | OpenFOAM Bugs | 8 | April 15, 2008 08:52 |