|
[Sponsors] |
April 12, 2024, 10:59 |
buoyantFoam problem with meshToMesh
|
#1 |
New Member
Join Date: Jan 2024
Posts: 13
Rep Power: 2 |
Hi everyone, I'm trying to make a simulation of a moving inflow, it should simulate the wearing out of an electrode. The Openfoam version is OF.org V10.
In this process I used dynamicMeshDict to make the mesh move, when the deformation of the mesh was no longer acceptable I wanted to do a meshToMesh. In this step I have an error: Code:
FOAM FATAL ERROR: V0 is not available From function const Internal& Foam::fvMesh::V0() const in file fvMesh/fvMeshGeometry.C at line 296. Searching online I found that this problem was present in XiFoam as "XiFoam: Removed redundant rhoEqn solution after mesh topology change". The git hash is 7dd5c4d3fac0704492a5b81f3315abe7d3443a6f . I tried to look for some redundancy in this case too but I couldn't find anything. Does anyone know this error or how to fix it ? |
|
April 16, 2024, 12:40 |
|
#2 |
New Member
Join Date: Jan 2024
Posts: 13
Rep Power: 2 |
can anyone help me?
|
|
April 17, 2024, 13:22 |
|
#3 |
New Member
Join Date: Jan 2024
Posts: 13
Rep Power: 2 |
At the moment I think the error occurs in this area of the code:
Code:
autoPtr<volVectorField> rhoU; if (rhoUf.valid()) { rhoU = new volVectorField("rhoU", rho*U); } // Update the mesh for topology change, mesh to mesh mapping mesh.update() All fields are printed correctly (even V0). It makes me think something is going on with directories. |
|
April 23, 2024, 04:48 |
|
#4 |
New Member
Join Date: Jan 2024
Posts: 13
Rep Power: 2 |
it seems that the error is generated from this point, we are in fvMeshGeometry.C.
Code:
const Foam::volScalarField::Internal& Foam::fvMesh::V0() const 293 { 294 295 if (!V0Ptr_) 296 { 297 FatalErrorInFunction 298 << "V0 is not available" 299 << abort(FatalError); 300 } 301 302 303 return *V0Ptr_; 304 } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with interFoam; Wave/wiggle alpha1 behavior | JonW | OpenFOAM | 10 | February 4, 2023 08:27 |
SU2-7.0.1 on ubuntu 18.04 | hyunko | SU2 Installation | 7 | March 16, 2020 05:37 |
BuoyantBoussinesqSimpleFoam_Facing problem | Mondal131211 | OpenFOAM Running, Solving & CFD | 1 | April 10, 2019 20:41 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |