blockMesh for External Flows

The Old-Fashioned blockMesh BlockMesh is the weapon of choice for directly generating rather simple meshes of channels, pipes, 2D-stuff etc. Those are mostly internal flows. With external flows, life gets tough much quicker. Consider a very simple case of a 3D flow past a cube. You now need this many blocks: But the cube itself […]

classy_blocks, ,

RunFunctions: a Quick Cheatsheet

All OpenFOAM tutorials have Allrun and Allclean scripts which call some mysterious RunFunctions from even more mysterious sources. The most mysterious thing of all this is how poorly those are documented. Since those are not a big deal, I decided to jot down some remarks so a newcomer can tell what they are for. The

Uncategorized,

Classy Classes for blockMesh

IMPORTANT! classy_blocks have been massively improved but this article hasn’t. Please refer to readme in repository for most up-to-date information and examples. blockMesh: pros and cons blockMesh is a great tool for creating simple and quick meshes. It also creates structured meshes and offers total control over its cells, which snappyHexMesh (and many other) doesn’t.

classy_blocks, ,

Tesla Cybertruck Aerodynamics

I am not going to share my negative opinion on visual aspects of design of this vehicle (although I could be very verbose) but there are some technical issues I need to clarify. There are statements in style of “Tesla Cybertruck could be insanely aerodynamic” or “Tesla’s Cybertruck Aerodynamics Do Flow Smoothly” or even nonsense

Uncategorized, , ,

Points and Vectors

I occasionaly write scripts for geometry optimization, therefore I have to wrestle with geometry. Graphically very easy problems become Ye Royale Paine In Ye Buttocks to solve analytically. At first I wrestle with piles of points, lines, determinants, trigonometric functions and whatchamacallits. Then replace all of that with a few points and vectors. Here are

Uncategorized, , , , ,