when defining "fluid solid interface" in transient structural, the question mark keeps showing - transient

screenshot here
G'day, mates. I met a problem that I couldn't figure out. I built a simple model consisting of a cylinder(solid) and a cuboid(fluid) for simulating Kármán vortex street. And the cylinder is submerged in the fluid, so the entire surface of it should be selected in the Scope dialog box. But there is a blue question mark beside the icon of "Fluid Solid Interface." I don't know why. Any mistake did I make?
I hope someone can help me out; thanks. Oh btw, I'm a beginner.
To make the question mark vanish so that I can go on.

Once clicked “solve”, immediately received a warning message saying that if the stiffness behaviour of the body is set “rigid”, then it’ll cause invalid “Fluid Solid Interface”. So just set it to be “flexible”. Okay, this problem has been solved!

Related

UE4 - I want to make an ingame camera/photography mode and save the pictures

for my game project I want to include a "camera mode".
This means, that on a press of a button the current camera view gets saved in an in-game gallery.
After some search, I only found ways to save a screenshot on the disk (BP for saving Screenshot, semi functional)
, but I want the picture to be still available in my game, maybe as a texture or in a struct. So I can later use it, well in an in-world picture frame or newspaper.
I did try SceneCaptureComponent2D, but I never got that one really working and searching online got no satisfactory results.
By the way, I'm fine with C++, I'm just building my current prototype with BP for faster testing and altering.
I hope you can help me.
I would have commented on your question, but I do not have enough reputation to do so, because this answer I am providing you is more a hint on how you could do it rather than a straight solution for your problem.
Check out this repository on how to capture images with C++ during a running application which is actually meant for recording data.

Draw "red squiggly line" in CHtmlEditCtrl

I am working on building spellchecking functionality into my app which currently uses MFC's CHtmlEditCtrl control.
Is there a way of drawing one of those "red squiggly lines" that you see under spelling errors on the HTML control, underneath the word that I detect to be a spelling error?
The only way I can think of is to use the actual HTML to apply this style, and then strip it out upon the email being sent. This seems rather messy, as if the user starts applying underline styles to the text they could interfere with it.
Is there a way of doing this with drawing?
Thanks in advance.
The interface you want is IHTMLRenderStyle. You pass this, once filled in, to the AddSegment method of the of the IHighlightRenderingServices interface. Here's an example in (gasp) VB. I've done it in C++, years ago now though, and it worked nicely.

GNU Radio simulation stuck

I have attached a screenshot of my design here:
when I start simulating it stuck and only plot a few vectors of data.
I think it's becasue of variable time shift block, it's a hierarchy block, when I connect a constant source to i'ts float input the design works perfectly but when I connect output of short to float it does not work,
I think it's becasue Argmax block produces one output for every vector but the variable time shift needs that output constantly.
how can i fix this?
I've written an answer to this question that you also posted on the discuss-gnuradio mailing list (archive):
Hi Mohammad,
to try, you could just use the repeat block.
Best regards, Marcus
I hope that solved your issue, since I haven't heard back from you :)

Custom "invalid input" error message in Text-Based Game

I'm new to stackoverflow and would like to thank any and all people who come across this post and gives any assistance. Sorry if this question/request seems noob-ish, I am a beginner-intermediate programmer in C++(closer to beginner I would say) but I know the basic fundamentals needed for a text-based game; however this one thing is stumping me for some reason.
Anyway, I am working on my own Text-Based Game and was looking to add a feature I saw in a video(Linked below) that when a user inputs an invalid char, or choice, would display a line of red text saying, "Previous selection was INVALID, try another from the list:" at the top of the console above the current screen/menu/submenu they were on and would stay there until the user entered a valid option. I know how to change the individual line color to red without changing the other text on the screen and how to make the error system, but how do I get it to appear at the top of my menu and stay there until the user has entered a valid option. Once I figure this out I can work on customizing it further.
Video: https://www.youtube.com/watch?v=5gBU5rptR8I #54 Seconds in the vid
Much appreciated,
the newbie,
xChubz
Clear console text (it's OS-specific, read here: How can I clear console), and simply rewrite what you had written before with your error message on top!
Not sure how to use a specific color but to clear the screen use:
system("CLS");

How to remove annoying background in webstorms app

Ok this is annoying and driving me crazy... I can find all types of options for fonts/colors/etc, but can't seem to get this to go away. Notice the green background around.. or well, in between a code section. Does anyone know how to get rid of this? Webstorms
In my case, it appeared to be the "Injected language fragment" setting.