import_file
Copy STL/OBJ geometry, meshes, or other files into an OpenFOAM case, e.g. the surface for snappyHexMesh. Provide source, destination, and case to stage simulation inputs.
Instructions
Copy geometry (STL/OBJ), meshes or other files into a case, e.g. the surface for snappyHexMesh.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case | Yes | Case name in the workspace (e.g. 'pitzDaily') or an absolute path inside an allowed root. | |
| dest | Yes | Destination inside the case: a directory ending in '/' (e.g. 'constant/geometry/') or a file path. | |
| source | Yes | File or directory to copy: '$FOAM_TUTORIALS/resources/geometry/motorBike.obj.gz', or a path inside the workspace/allowed roots (Windows paths like C:\\models\\car.stl are accepted under WSL). |