View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004262 | OpenFOAM | Bug | public | 2025-08-07 09:16 | 2025-08-07 09:26 |
Reporter | tobias2 | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | suspended | ||
Platform | GNU/Linux | OS | Other | OS Version | (please specify) |
Product Version | 13 | ||||
Summary | 0004262: foamDictionary deleting boundary conditions for regex defined patches | ||||
Description | When having a boundary conditions file in 0/solid/T with regex definitions for some walls, it is not possible to use foamDictionary to add an entry, because it will delete the subDict-entries for the regex patches. e.g.: Orig. T-file: dimensions [ 0 0 0 1 0 0 0 ]; internalField uniform 313.15; boundaryField { "wall_.*" { zeroGradient; } mapped { type coupledTemperature; thicknessLayers ( ); kappaLayers ( ); value $internalField; } } Executing: foamDictionary -entry boundaryField/wall_heatinput -set "{type fixedValue; value 330;}" 0/solid/T Will lead to: dimensions [ 0 0 0 1 0 0 0 ]; internalField uniform 313.15; boundaryField { "wall_.*" { } mapped { type coupledTemperature; thicknessLayers ( ); kappaLayers ( ); value $internalField; } wall_heatinput { type fixedValue; value 330; } } | ||||
Tags | No tags attached. | ||||