chtMultiRegionDyMFoam Solver
Hi foamers,
i want to implement a DynamicMesh MultiRegion solver. First of all: Is this possible to realize? If i make a dynamicMesh of a region (i.e. moveDynamicMesh -region region0) i can create a mesh in which region 0 is moving (in my case turning) I have coupled boundary conditions for the temperature. But how should i set up the AMI patches? So i thought i could try different things, but therefor i need the solver. So my aim is to implement the solver. How can the solver be implemented? i need to create a dynamicMesh and then i have to recalculate the flux for the fluid regions. So i tried doing this in the same way as in the pimpleDyFoam. It was more try and error but anything, however, i think i'm on the right path. But now i have a problem. I include correctPhi.H as in the pimpleDyFoam, and in this file, there are two variables pRefCell and pRefValue. These variables come obviously from the fvOptions. But there is my problem. I include the setRegionFluidFields.H in front of it, and there the fvOptions are defined with Code:
fv::IOoptionList& fvOptions = fluidFvOptions[i] Code:
./include/correctPhi.H: error: ´pRefCell´ was not declared in this scope Additionally i get some errors with the pimple class. for the line pimple.correctNonOrthogonal() it says Code:
error: ´const class Foam::dictionary´ has no member named 'correctNonOrthogonal' so maybe anyone can help, this would be great :) greetings Wirman |
The error with pRef comes not from fvOption ...
The error with pRef is due to the fact that you have not declared this variables The last error is due to the missing brackets: Code:
pimple().nonOrt.. At least I will mention, that you do not need to recalculate the fluxes because your problem only the solid is moving. Therefore you get no additional convection term (phiMesh). So you do not need the correction step. Only if your fluid domain is rotating than it is necessary. |
Hey Wirman,
I just came across this thread and I'm interested in this topic as well. Did you manage to get any further with your development? Have you been able to figure out whether this kind of solver is possible? Thanks in advance :) Greetings Cédric |
All times are GMT -4. The time now is 18:09. |