|
[Sponsors] |
timeVaryingMappedFixedValue for circular sections |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 10, 2023, 14:29 |
timeVaryingMappedFixedValue for circular sections
|
#1 |
Member
ishan
Join Date: Oct 2017
Posts: 78
Rep Power: 9 |
I am trying to set up a case where the input to inlet is taken from a previously run simulation. I want to set this up using the timeVaryingMappedFixedValue boundary condition.
I have ran some tests where the mapping data was sampled from a quad shaped surface. When the surface where the data to be mapped is also quad shaped, the BC seems to work. However, if the surface from where the mapping data has been sampled is circular and, the surface where the data has to be mapped is also circular it is an issue. I immediately get these errors using mapMethod of nearest as well as planar: Code:
--> FOAM FATAL ERROR: (openfoam-2212) Did not find a corresponding sourcePoint for every face centre --> FOAM FATAL ERROR: (openfoam-2212) Need at least 3 non-collinear points for planar interpolation, but only had 0 points If you see my image, the target and source surfaces are the same dimensions and their axial locations are also the same. These are the surface sampling settings from the pre-cursor simulation: Code:
type surfaces; surfaceFormat boundaryData; formatOptions { ////Optionally specify write options boundaryData { header true; // write as OpenFOAM object format ascii; // write binary or ascii compression false; // compress after writing } } writeControl writeTime; interpolationScheme cell; fields ( U turbulenceProperties:R turbulenceProperties:L ); surfaces { inlet { type patch; patches (INLET); interpolate false; } } Code:
type timeVaryingMappedFixedValue; offset (0 0 0); setAverage off; mapMethod nearest; Can someone please suggest where I am going wrong ? |
|
September 10, 2023, 15:55 |
|
#2 |
Member
ishan
Join Date: Oct 2017
Posts: 78
Rep Power: 9 |
I was able to sort this problem.
The patch from where I was sourcing the data and, the target patch where the data needs to be mapped where named differently. Once, I changed the name of the folder to the target patch's in target_case/constant/boundaryData/targetPatch I was able to sort out this issue. |
|
Tags |
timevaryingfixedmapped, timevaryingmappedfixedval |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how do you document your complicated sections of code? | aerosayan | Main CFD Forum | 7 | February 14, 2022 04:40 |
Is it possible for the two blade sections to experience the same angle of attack? | mazhar16823 | Main CFD Forum | 11 | September 17, 2020 14:32 |
one report for several plane sections | Newsim | STAR-CCM+ | 1 | July 6, 2020 23:24 |
[ANSYS Meshing] Transition between two hex sections with different cell density | krihamm | ANSYS Meshing & Geometry | 0 | February 22, 2018 04:15 |
Sections / Topics in CFD Wiki | Roberthealy1 | CFD-Wiki | 6 | August 23, 2007 18:58 |