View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001754 | OpenFOAM | Bug | public | 2015-06-19 15:36 | 2015-06-19 15:49 |
Reporter | Assigned To | henry | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | OpenSuSE | OS Version | 12.3 |
Summary | 0001754: surfaceToCell, surfaceToPoint do not allow variable names in surface | ||||
Description | The topoSet sources surfaceToCell, pointToCell read a fileName for the surface. This fileName cannot contain any variable names. In attached (contrived) example for the motorBike tutorial it uses file "$FOAM_CASE/constant/triSurface/motorBike.obj"; I think there should be an .expand() in the construct-from-dictionary: surfName_(fileName(dict.lookup("file")).expand()) Haven't thought about the construct-from-Istream. | ||||
Steps To Reproduce | motorBike tutorial in combination with attached topoSetDict | ||||
Tags | No tags attached. | ||||
2015-06-19 15:36
|
topoSetDict (1,998 bytes)
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.4.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object topoSetDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // actions ( // Select based on surface { name c1; type cellSet; action new; source surfaceToCell; sourceInfo { file "$FOAM_CASE/constant/triSurface/motorBike.obj"; useSurfaceOrientation false; // use closed surface inside/outside // test (ignores includeCut, // outsidePoints) outsidePoints ((-99 -99 -59)); // definition of outside includeCut false; // cells cut by surface includeInside false; // cells not on outside of surf includeOutside false; // cells on outside of surf nearDistance -1; // cells with centre near surf // (set to -1 if not used) curvature 0.9; // cells within nearDistance // and near surf curvature // (set to -100 if not used) } } ); // ************************************************************************* // |
|
Resolved by commit 158fc138e9335d324c721f48b83457c7ba500e83 |