CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[PyFoam] Unable to properly construct the sqlite database

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 8, 2019, 10:51
Question Unable to properly construct the sqlite database
  #1
Member
 
Elwardi Fadeli
Join Date: Dec 2016
Location: Boumerdes, Algeria
Posts: 41
Rep Power: 9
ELwardi is on a distinguished road
Hello,

I have a custom solver working on a certain Swp (vector2Field in extend-4.0).
When I try to run a parameter variation with PyFoam, it says "table analyzedData has no column named _linear//_swp".

I have tried suppressing solver performance output with no success. Here is the full error
Code:
Traceback (most recent call last):
  File "/opt/foam/foam-extend-4.0/ThirdParty/packages/PyFoam-0.6.4/platforms/noarch/bin/pyFoamRunParameterVariation.py", line 5, in <module>
    RunParameterVariation()
  File "/opt/foam/foam-extend-4.0/ThirdParty/packages/PyFoam-0.6.4/platforms/noarch/lib/python2.7/site-packages/PyFoam/Applications/RunParameterVariation.py", line 73, in __init__
    **kwargs)
  File "/opt/foam/foam-extend-4.0/ThirdParty/packages/PyFoam-0.6.4/platforms/noarch/lib/python2.7/site-packages/PyFoam/Applications/PrepareCase.py", line 89, in __init__
    **kwargs)
  File "/opt/foam/foam-extend-4.0/ThirdParty/packages/PyFoam-0.6.4/platforms/noarch/lib/python2.7/site-packages/PyFoam/Applications/PyFoamApplication.py", line 356, in __init__
    result=self.run()
  File "/opt/foam/foam-extend-4.0/ThirdParty/packages/PyFoam-0.6.4/platforms/noarch/lib/python2.7/site-packages/PyFoam/Applications/RunParameterVariation.py", line 375, in run
    db.add(run.data)
  File "/opt/foam/foam-extend-4.0/ThirdParty/packages/PyFoam-0.6.4/platforms/noarch/lib/python2.7/site-packages/PyFoam/Basics/RunDatabase.py", line 65, in add
    [("runId",runID)]))
  File "/opt/foam/foam-extend-4.0/ThirdParty/packages/PyFoam-0.6.4/platforms/noarch/lib/python2.7/site-packages/PyFoam/Basics/RunDatabase.py", line 132, in __addContent
    raise e
sqlite3.OperationalError: table analyzedData has no column named _linear//_swp
Any one knows how to fix this?
ELwardi is offline   Reply With Quote

Reply

Tags
pyfoam


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
How to make a code parallel? Bruno Machado Fluent UDF and Scheme Programming 15 May 27, 2016 10:18
OpenFOAM 1.6.x - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 68 April 22, 2013 12:03
GAMBIT Error Msg database file not properly closed Janomano ANSYS Meshing & Geometry 8 November 23, 2010 05:14
[Commercial meshers] ST_Malloc: out of memory.malloc_storage: unable to malloc Velocity SA, cfdproject OpenFOAM Meshing & Mesh Conversion 0 April 14, 2009 16:45
WARNING: Unable to compact database Reena CFX 0 June 23, 2006 13:00


All times are GMT -4. The time now is 11:06.