Datasets:
Languages:
English
Size:
10K - 100K
Update README.md
Browse files
README.md
CHANGED
@@ -285,10 +285,16 @@ print("Sample from training set:", sample)
|
|
285 |
|
286 |
We used [Inductiva Template Manager](https://tutorials.inductiva.ai/intro_to_api/templating.html) to parameterize the OpenFoam configuration files.
|
287 |
|
288 |
-
Below are some of the templates
|
289 |
-
|
|
|
|
|
|
|
290 |
flowVelocity ({{ wind_speed }} 0 0);
|
|
|
291 |
|
|
|
|
|
292 |
vertices
|
293 |
(
|
294 |
({{ x_min }} {{ y_min }} {{ z_min }})
|
@@ -300,13 +306,22 @@ vertices
|
|
300 |
({{ x_max }} {{ y_max }} {{ z_max }})
|
301 |
({{ x_min }} {{ y_max }} {{ z_max }})
|
302 |
);
|
|
|
303 |
|
|
|
|
|
304 |
endTime {{ num_iterations }};
|
|
|
305 |
|
|
|
|
|
306 |
magUInf {{ wind_speed }};
|
307 |
lRef {{ length }}; // Wheelbase length
|
308 |
Aref {{ area }}; // Estimated
|
|
|
309 |
|
|
|
|
|
310 |
geometry
|
311 |
{
|
312 |
object
|
@@ -338,14 +353,6 @@ refinementSurfaces
|
|
338 |
{
|
339 |
// Surface-wise min and max refinement level
|
340 |
level ({{ resolution }} {{ resolution + 1 }});
|
341 |
-
|
342 |
-
// Optional specification of patch type (default is wall). No
|
343 |
-
// constraint types (cyclic, symmetry) etc. are allowed.
|
344 |
-
patchInfo
|
345 |
-
{
|
346 |
-
type wall;
|
347 |
-
inGroups (objectGroup);
|
348 |
-
}
|
349 |
}
|
350 |
}
|
351 |
|
|
|
285 |
|
286 |
We used [Inductiva Template Manager](https://tutorials.inductiva.ai/intro_to_api/templating.html) to parameterize the OpenFoam configuration files.
|
287 |
|
288 |
+
Below are snippets from some of the templates used in the wind tunnel simulations.
|
289 |
+
|
290 |
+
|
291 |
+
initialConditions.jinja
|
292 |
+
```jinja
|
293 |
flowVelocity ({{ wind_speed }} 0 0);
|
294 |
+
```
|
295 |
|
296 |
+
blockMeshDict.jinja
|
297 |
+
```
|
298 |
vertices
|
299 |
(
|
300 |
({{ x_min }} {{ y_min }} {{ z_min }})
|
|
|
306 |
({{ x_max }} {{ y_max }} {{ z_max }})
|
307 |
({{ x_min }} {{ y_max }} {{ z_max }})
|
308 |
);
|
309 |
+
```
|
310 |
|
311 |
+
controlDict.jinja
|
312 |
+
```
|
313 |
endTime {{ num_iterations }};
|
314 |
+
```
|
315 |
|
316 |
+
forceCoeffs.jinja
|
317 |
+
```
|
318 |
magUInf {{ wind_speed }};
|
319 |
lRef {{ length }}; // Wheelbase length
|
320 |
Aref {{ area }}; // Estimated
|
321 |
+
```
|
322 |
|
323 |
+
snappyHexMeshDict.jinja
|
324 |
+
```
|
325 |
geometry
|
326 |
{
|
327 |
object
|
|
|
353 |
{
|
354 |
// Surface-wise min and max refinement level
|
355 |
level ({{ resolution }} {{ resolution + 1 }});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
356 |
}
|
357 |
}
|
358 |
|