MultiRegions Inside Mesh
Hi,
I am using the OpenFOAM tutorial snappyMultiRegionHeater to model the de-icing process on a airfoil. I create STL files for 3 domains: - Air domain (3 regions: inlet, outlet, sides), - Heater (2 regions: heater_to_airDomain, heater_to_airfoil), - Airfoil (2 regions: airfoil_to_airDomain, airfoil_to_heater). Both Airfoil and Heater are inside the Air domain. In the BlockMesh, I create 6 vectrices that fit exaclty the Air domain (one block) and define 3 boundaries (inlet, outlet, sides) as patches. These boundaries correspond to the regions in the Air domain STL file. In the system folder, I tried to configure the changeDictionaryDict files but I am lost. I dont find any tutorial that really helps... In the snappyHexMeshDict, I added the geometries, in the refinementSurfaces section I did this for each surface: airfoil { level (1 1); faceZone airfoil; cellZone airfoil; cellZoneInside airfoil; } When I launched the ./Allrun: - the dictionary change logs for airDomain and heater return this error: Cannot find file "points" in directory "heater/polyMesh" in times 0 down to constant - a new folder domain1 is automatically created - in the dictionary change for the airfoil, i get this part (i think it can help for a better understanding): fieldDict: { outlet { type patch; nFaces 300; startFace 12108; } sides { type patch; nFaces 754; startFace 12408; } airfoil_to_domain1 { type mappedWall; nFaces 1220; startFace 13162; sampleMode nearestPatchFace; sampleRegion domain1; samplePatch domain1_to_blade; offsetMode uniform; offset ( 0 0 0 ); } } I guess my errors are in the dictionary definitions but I dont know how to fix it. Thank you for your help. |
All times are GMT -4. The time now is 23:08. |