エラーと原因
Case1 - 容量不足
--> FOAM FATAL IO ERROR: (openfoam-2012)
error in IOstream "/home/fluid/sato/sinkingRod/0.0084/Uf" for operation Foam::Ostream& Foam::operator<<(Foam::Ostream&, Foam::doubleScalar)
file: /home/fluid/sato/sinkingRod/0.0084/Uf at line 1411038.
From bool Foam::IOstream::fatalCheck(const char*) const
in file db/IOstreams/IOstreams/IOstream.C at line 63.
FOAM exiting
error in IOstreamと書いてある通り、入出力に失敗したエラー。
容量が足りず新しいファイルを作成できなかった。
checkMesh -time 0.0083 -allTopology -allGeometryをして同じエラーが出たので(以下)
Checking topology...
Boundary definition OK.
Cell to face addressing OK.
Point usage OK.
Upper triangular ordering OK.
Face vertices OK.
Topological cell zip-up check OK.
Face-face connectivity OK.
*Number of regions: 2
The mesh has multiple regions which are not connected by any face.
<<Writing region information to "0.0083/cellToRegion"
--> FOAM FATAL IO ERROR: (openfoam-2012)
error in IOstream "/home/fluid/sato/sinkingRod/0.0083/cellToRegion" for operation Foam::Ostream& Foam::operator<<(Foam::Ostream&, int32_t)
file: /home/fluid/sato/sinkingRod/0.0083/cellToRegion at line 3720.
From bool Foam::IOstream::fatalCheck(const char*) const
in file db/IOstreams/IOstreams/IOstream.C at line 63.
FOAM exiting
dfコマンドで確認すると、/dev/sda2の使用量が100%になってた
Case 2 - 消せないディレクトリ
エクスプローラーからWSL内のディレクトリをコピーしたら、中のファイルが永遠に増殖するようになった
rmでも消えないし、エクスプローラーからも消せない
mv等で名前を変更すると元のディレクトリは残ったまま新しい名のディレクトリが生成される
問題はWindows側のアプリケーションがバグって数秒ごとにコピーされ続けられていた
コピーし続けているプロセスを終了すれば消せるようになる
PCを再起動したら消せた