cavity.OpenFOAM file empty, what to do? - mesh

I'm trying to learn how to use OpenFOAM. To do so, I'm working my way through the cavity example, found here:
https://cfd.direct/openfoam/user-guide/v8-cavity/
In step 2.1.2 Viewing the mesh I run paraFoam and a window opens called ParaView 5.6.0 64-bit. The render view of the window is empty (see screenshot). I expect to see a mesh here, as shown in the tutorial. I cannot select a coloring in the window, because the Display tab is empty, even when I click the little cog wheel at the top of the tabs.
I found that the file cavity.OpenFOAM, which is generated by paraFoam, is empty, i.e. it has zero bytes.
$ icoFoam -help
[...]
Using: OpenFOAM-7 (see https://openfoam.org)
Build: 7-1ff648926f77

cavity.OpenFOAM is always a 0 byte file.
In ParaView make sure to select the required Mesh Parts before you hit apply.
select Mesh Parts'
After hitting apply, change the view from 'Surface' to 'Surface With Edges
Surface With Edges

Related

How to view vertices on model when not showing

I have the model from the bellow image and when I'm entering Edit mode, I can't see any vertices. How can I enable them? I want to remove some parts of it. If I add a simple cube, on that I can see them. All the tutorials I've seen start with them on and tell you how to move/delete, and none of them talk about the situation when they aren't showing. Does it have something to do with the model and it can't be changed?
Model
This is the wireframe view:
Wireframe
Someone told me the solution on another website:
"You've selected the armature, not the character object, if you want to edit the character, switch back to Object mode, select the character, switch to Edit mode, then choose the Vertex Select mode, press Alt Z if you want transparency."
For me on Version 3.3 I could see the edges but not the vertices, because I needed to change the select mode from "edge select" to "vertex select" - tiny little buttons showing in edit mode on top left, left of the "view" menu.
I had the same issue. Simply:
Select Model & Press Tab go to enter in Edit Mode
Next to the Edit Mode Dropdown box (under the Edit Menu) there are 3 buttons:
a) 1st: Vertex Selection (**Select This one)
b) 2nd: Edge Select
c) 3rd Face Select
Once you click on the 1st button (Vertex Select) you should be able to see the small dots on the VerticesHope it helps?

Cannot view CMake Build Settings [duplicate]

I have reinstalled CMake many times and still I don't have the Configure and Generate options on the CMake GUI. Can someone tell me how I can delete the old configuration?
You have hidden the CMake variables display (which includes the Configure and Generate buttons).
To fix this, hover your mouse pointer over the blank gray space directly under the "Where to build the binaries" textbox near the top, and the option to resize the window pane should display as your mouse pointer. You can click here and drag down vertically to re-expand the CMake variables display, which will show the buttons to Configure and Generate as well.

Why my CMake GUI looks different than usual

I have reinstalled CMake many times and still I don't have the Configure and Generate options on the CMake GUI. Can someone tell me how I can delete the old configuration?
You have hidden the CMake variables display (which includes the Configure and Generate buttons).
To fix this, hover your mouse pointer over the blank gray space directly under the "Where to build the binaries" textbox near the top, and the option to resize the window pane should display as your mouse pointer. You can click here and drag down vertically to re-expand the CMake variables display, which will show the buttons to Configure and Generate as well.

Where in blender menu is the option Cap Fill Type ? Can't find it

I'm trying to do this tutorial.
Hollow Cylinder
But in my blender i can't find the Cap Fill Type.
I'm using blender 2.78
You are looking for the Operator Properties panel, it can be found at the bottom of the tool shelf T, note if the area is too small that you may have to scroll or expand the area to find the fill type. If the operator properties are not shown then there will be a small + that will bring it back.
You can also bring up the properties in a floating panel by pressing F6
You can set the cap fill type only after the immediate creation of the object. Even a slight change done to the object will vanish the option to set cap fill type.

Multiple "right margins" or guides in PHPStorm

PHPStorm has a vertical line on what they call the "right margin" which is set by default to 120 characters or columns...
Given that PSR standards state There MUST NOT be a hard limit on line length; the soft limit MUST be 120 characters; lines SHOULD be 80 characters or less., it'd be nice if I could get another visual indicator at the 80 character mark...
I'm well aware that it says what line/column you're on in the status bar, but I typically hide most panels (status bar included) while coding.
Therefore, is there a way (feature or plugin) that would allow me to add a 2nd vertical line to indicate the 80th column?
It is not currently possible .. and no plugin comes into my mind.
https://youtrack.jetbrains.com/issue/IDEA-99875 -- star/vote/comment to get notified on progress.
P.S. Considering that this is rather PHP/Python specific (other languages do not care about this) .. I would not expect JB to have it implemented in nearest future...
I suggest the following workaround, it works for me on PhpStorm 9.0:
Open Settings page (usually Ctrl+Alt+S), go to Plugins -> Browse Repositories
Find and install BackgroundImage plugin
Restart IDE, it may output an error, something like "unknown protocol d" - don't worry, go forth
Make an image with height=1px, and width=(desired width of additional margin). Give it, say, white background and paint one rightmost pixel to say, black. I took a screenshot of an editor and cropped it in PS, to avoid annoying search and adjustment of the image width. Every change of background image requires to restart PhpStorm.
Open Settings again, goto Other settings -> BackgroundImage
Set Enabled checkbox, browse your created image, and check the FileSystem radio button
Restart IDE again and change the margin and you will get two margins
The image is left-aligned, so when you resize an editor on x-axis (move the splitter between Editor and Project View or File System View, etc.), the margin will remain truthy.
Some side-effects - it appears also on console window, event log, perhaps somewhere else.
If the plugin doesn't work, check out this page (there said that most JetBrains plugins should work on all products on IntelliJ Platform, and some workaround if they does not): http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html
ADDED: Doesn't work with scaling an editor (Ctrl + MouseWheel) - the scale of the image (fake margin), remains the same and the margin becomes not truthy.
In the latest PHPStorm, this is now possible. This would be PHPStorm 2017.3. The instructions on the ticket mentioned in the accepted answer explains it quite well:
Will be available in the next EAP build. You can set it up at
Settings|Editor|Code Style|Visual guides for all languages or on
"Wrapping and Braces" tab for a specific language ("Other" tab for
XML/HTML). You can change the visual indent guide color at
Settings|Editor|Color Scheme|General|Guides|Visual guides. Please
submit separate reports if you find any problems.
I personally found the setting in Settings|Editor|Code Style|PHP|Wrapping and Braces|Visual guides. It should be there for every language.