CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Problem running pimpleFoam in magnus effect simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2021, 14:27
Default Problem running pimpleFoam in magnus effect simulation
  #1
Senior Member
 
Alan w
Join Date: Feb 2021
Posts: 284
Rep Power: 6
boffin5 is on a distinguished road
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 }
I read this as a problem with my 0/k file, and it is weird because nowhere in my code is "cyclicAMI." As a basis, I used the pimpleFoam tutorial for a propeller, but after many tries, as evidenced by the multiple // marks in the attached, still can't get it to work. My case files are included in the attached. Thanks again to all who have helped me in the past, and I hope that you might be able to do so once again.
Attached Files
File Type: gz magnus.tar.gz (7.3 KB, 3 views)
boffin5 is offline   Reply With Quote

Old   June 15, 2021, 15:53
Default problem solved, I think
  #2
Senior Member
 
Alan w
Join Date: Feb 2021
Posts: 284
Rep Power: 6
boffin5 is on a distinguished road
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!
boffin5 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 22:24.