In the solution directory subdirectories whose names are numbers are
assumed to be solutions for a specific time-step
A sub-directory (called the Archive) is created to which solution data
is copied
|
__init__(self,
name,
archive="ArchiveDir")
|
|
addToClone(self,
name)
add directory to the list that is needed to clone this case
|
SolutionDirectory or correct subclass
|
cloneCase(self,
name)
create a clone of this case directory.
|
|
reread(self)
Rescan the directory for the time directories
|
|
sorttimes(self,
x,
y)
Sort function for the solution files
|
|
getTimes(self)
|
|
addBackup(self,
pth)
add file to list of files that are to be copied to the archive
|
str
|
getLast(self)
|
|
lastToArchive(self,
name)
copy the last solution (plus the backup-files to the archive)
|
|
clearResults(self,
after=None)
remove all time-directories after a certain time.
|
str
|
initialDir(self)
|
str
|
latestDir(self)
|
str
|
constantDir(self)
|
str
|
systemDir(self)
|
str
|
controlDict(self)
|
str
|
polyMeshDir(self)
|
str
|
blockMesh(self)
|
BasicFile
|
makeFile(self,
name)
create a file in the solution directory and return a corresponding
BasicFile-object
|
Inherited from Basics.Utilities.Utilities :
execute ,
listDirectory ,
writeDictionaryHeader
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|