Animate a Rocket Launch - Fire & Smoke Simulation Tutorial in Blender

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome back everyone to this new tutorial we are going to be working on the fire and smoke simulation in blender then we're going to be animating our rocket launch into space by the way this is a tutorial series that will help you make this short film animation of this spacial discovery launch into space you can also watch the previous tutorials on how to model this space station and also you can download this spaceship model for free on realityfakers.net website the link is going to be down below alright so let's get to work all right so i'm going to get started by original domain so let's put the cursor at the center just like this so i'm going to hit shift a and let's bring a simple cube and i'd like to scale through these following dimensions so let me activate my screencast keys over here so for example i'd like to search over here to 40 same thing on the y-axis to 40 and on the z-axis i would like to give it 15. so this one's going to be the starting point for achieving good results good smoke results okay so we got it i'd like to put it right on the floor because we're going to be uh using the bottom side of our domain as a collision so it's gonna the smoke is gonna collide with the bottom side all right so let's go over here i'm gonna go through the physics properties and i'm gonna click on fluid i'm gonna be choosing the domain so as you can see switch it switching to a wireframe so the second thing that we need to do is let's work on the settings over here so for the resolution let you start with the 50 50 resolution it's really low it's going to increase that that later on so for the portal collisions i'd like to check the bottom side to make this smoke and fire collide with the bottom side which is the base our base and i would like to also check the adaptive domain so basically this option limits the baking to only the affected areas so for example if we don't have any smoke on fire over here we're going to compute this part so this is a really good approach if you want to increase the the speed of our baking so make sure to check that out and over here we have the heat and the density so we're going to be checking later on the noise but for now let me just gonna stop right here but for the type of bacon i would like to switch it to the modular just so that we can have the option over here to bake the data but also i'd like to do something else which is check this is resumable which mean that we can stop at any second that we want and we can resume our baking later on so this option is really useful all right so with that set our domain all we have to do right now is to check or to add the source or our add our engines so for that i'm going to be just let me just bring these up i'm going to bring them up for example like this this is just a test also we can do this i'm going to just hide all the other components h to hide them just like this h i'm going to bring them back using this eye over here all right so over here i'm gonna just uh you know let me just bring them even up so this is the the important area the engines so i think i'm gonna start with this one so as a starting point just so that we can see i'm gonna select these all to select entire row shift d just like that so let me move it down a little bit hf to fill that cap and also i'm gonna hit b separate selection so now we have this section separated so let me just bring it inside like that and i'm going to go over here to physics properties again choose fluid and now i'm going to be choosing the flow just like that so now let's change the settings so first we have the type of the flow so i don't want it to be just smoke i want both of those fire plus smoke and also for the behavior flow behavior i would like to change it from geometry to inflow so basically geometry is going to be just uh or the inflow it's going to be a constant output of fire and smoke not just one time it's going to keep giving us that output the it's going to go on and on all right so also let me just check the other side also over here if you want to increase the amount of view you can increase it from here i think the top is one five all right so that's it for this one so we can go ahead right now and do a quick bake just so that we can see what we got so i'm gonna hit bake and as you can see it's really fast because we have we're running on a low resolution over here so we can stop right here and assess the quality of our bacon so you can see that we have some fire over there and some smoke but you can see we don't have any movements so actually what we need to do right now is to kind of push the firing smoke down so for that we're going to be using uh this one so shift a let me use a force field it's going to be wind so we need to push that out but let me just switch to the wi-fi so that you can be able to see it so this is the force you can see it's applied from downside upwards so what we need to do is to switch it so i'm going to hit r y 180 degree so now it's upside down this is this is exactly what we need so all i have to do is i'm going to increase the strength for example let's start with 100 so we can always control this uh if you want to reduce the strength of it but the problem with this wind is gonna also affect the wind it's gonna push it down which is not the case that we have in real in reality so you can see that over here but i'm still searching for a better way to do this so let me just get back over here to my domain and let's give it a bake so i'm going to free the data and bake again so i'm going to stop at frame 100 just to assess the quality again and let's see as you can see we have a good simulation so all we have to do right now is but also i think we have a heavy firepower over here so there is two ways to to fix this first we can let me select my engine this one and we can reduce the the fuel amounts for example let's set it to only 0.75 just a third yeah i think with okay so let's just free the data and bake again and i'm going to just stop at frame 40 for example and i think now we're good yeah we know we're good so all we have to do right now is to increase i'm going to increase the amount over here for example to 200 just so that you can have a good taste of that baking and let's bake it so see you after that all right let me stop over here and check and get the quality of the bacon and as you can see we got a good uh good bacon over here so you can see that's firepower it's well uh well set all right all right so now what i'd like to do is change the center of uh so this source of our power i'd like to change it from the tank which makes no sense we just put this one as a test i'd like to change it to the side rockets just like we have in our reference all right so in order to do that i'm gonna just delete first our engine this main engine x delete it and i'm going to select my side rockets i'm going to select this face over here and zoom on it using the okay so over here i'm going to hit p and separate selection and after that let me just on the edit mode i'm going to select it and scale it down a little bit and move it inside our rockets our side rockets just like that and also now what you need to do is to work on the settings but before doing that let me just remove the current baking because we don't need it anymore okay just remove it and let's work on this one so first i'm going to be making it fluid you can just repeat the same steps so the type of the photo it's going to be a flow and over here the type it's going to be a fire plus smoke and a set of geometry i would like to have an ongoing flow of fire and smoke so let's just change it to inflow and basically uh for the fuel so the fuel is really important because we're gonna be having it we're gonna be animating it so i'd like to increase this fuel to just five okay and also over here for this wind effect i think 100 100 is too much so i'm gonna just decrease it to just five and it's gonna work just fine so you might change it based on your situation so just expect that someone's gonna work 100 the same at the first start so you need to keep trying a lot of times until you find your best sweet spot all right so now what i'd like to do is to bring all the other components just like this okay and basically uh the the the number of objects that we need to animate is i think for first we have the the fuel tanks plus the rockets we have our spaceship so this is you third one is gonna be the engines so these are representing the engines and finally we have the wind effect this one so as you can see we have four components all right so i'm gonna hit three over here or ctrl 3 to go to the front side or the left side this one or the graphic i'm going to just move it to the starting point it's going to be for example here i think maybe you need to move it just a tiny bit just a chat on the left side all right so i'm going to jump over here to the frame 0 and also the starting point i prefer to keep it at zero so over here i'm going to be hitting e this e over here so that we can insert keyframes and e and let's insert the location and also the rotation because it actually has a tiny spinach around when it's going to be in the air all right so i'm going to jump into the last frame which is the 250 and i'm going to take it up so i prefer 12 frames so over here this cube is represents one one two three four five six seven eight nine ten eleven so we can bridge all the way to that point so this is the one that i put as a test so i'm gonna hit e again and let's add uh the rotation you can see that we have this point yellow point over there and e again and let's add also the locations so i would like to have them both location and rotation because we're going to be tweaking that in just a second all right so let's try this out as you can see we have a nice start but we're going to be having a problem at the end so over here you can you can see that it's going to start to slow down can you see that so which is not the case so we need to fix that so in order to fix that i'm going to be switching to the graph editor over here so let me just switch over to the graph editor also over here i'm going to just revert back a little bit so that we can have an idea about it so i'm going to hit a and select everything so over here you can see that we have this curve so the blue the blue curve represents the z-axis is zero rotation zero location so what i'd like to do is uh so basically when it's flat meaning that the our object is gonna slow down especially over here you can see it's going up but it's going to go in flat so this this uh i think this this axis represents the z location this axis so you can see it's it's getting lower and lower so what you need to do is to make it linear so there is a lot of way to do this with for example we can select all of those and hit s x and hit zero so that we can make it flat and we can see that it's not flat but so we made it look linear so now if we went back and try this you can see that it was gonna slow down so it's going up but sometimes it doesn't work based on your situation so if it does not work so you can do this i'm gonna hit c and deselect all these points i'm going to just keep these these handles on the left side and i'm going to hit g so i can move them and we can make them look like this so as you can see uh the curve is not flat anymore which means that we aren't going to be experiencing any slowdown at the start at the end so now we have it's slow but over here each one's going to be slow and i think we're good yeah so it's going even fast at the end so we can for example make it like this to have it a little bit linear so now you can see that we have the some an exponential curve slow at the start and it starts accelerating at the end so from distance it looks fine all right so let me just try to see a close uh closer view no i think we're good yeah we're good all right so all we have to do right now is to include i'm going to be selecting our domain and make it cover the entire path so until it reaches 250. so i'm going to select the top side and hit 3 and i'm going to move it until this covers at least the engines so that's all we need so it must cover the engines there is no need to cover it all okay and also i think i don't want to have any any smoke beyond our base so i just want uh so let's select everything s shift z and let's get it down like this also we can go to the top side and check that out sx oops sx something like this and also sy and let's get it like that because it's gonna make no sense to have some uh some uh because if you want to keep it uh if you want to cover the entire spot we need to bring it down because the smoke is gonna collide with the bottom side and it's going to go over here it's going to be awful so this way it's going to be better even though it's not very realistic because as you can see over here the behavior of the smoke it doesn't behave like that but this is just a test we might imp we will improve it later on okay so let me try again and let's see as you can see we have a good start also over here i think it's better to move this bar right on the left side so for example we can let me just put the cursor at the starting point i'm going to put the cursor right here it's like this phase shift s cursor is selected and i'm going to be uh switching this one i'm going to be moving based on the 3d cursor just like that so let's let me select both of those for example we can do something like this but i think we need to do it before the launch let's just try to do it fast so over here i'm going to hit e and apply or add the rotation so on frame 10 for example you can move it to the side by 25 degree so e and let's add the rotation all right let's see so this one is not cooperating let's just see now actually we must bring this one back but actually what we need to do is uh yeah i think i got the problem so for this object we're moving it so what we need to do is to also include the location so e and let's add also the location and let's jump for example to frame 10 or even 15 doesn't have to be speedy so our x or z and let's spin it by 25 degree also over here let's hit e and insert location as well as rotation all right so let's try it now doing good even though it's not realistic because we need to have some time but that's fine all right we got our rocket rocket launch all right so now all we have to do is i'm going to be increasing the the the resolution of our baking over here i'm going to be setting it to 70 or you know what let's let's go with 200 just so that we can assess the quality of our baking so let me just check i have a final check so obviously we set it to 5 which is fine all right so let me just go ahead and pick our rocket launch okay it's just 200 we're going to increase it to 750. i'm going to stop here and let's see i think we're good yeah so all we have to do right now is to increase that amount that's a resolution amount to 750 and let's give it for example i think it's going to take 20 to 30 minutes all right so there we go so our baking is complicit so now what i'd like you to do is we're going to be adding the camera and tracking our rocket launch so you can see how the the baking is done i think it looks pretty nice all right so now let's add our camera so that you can track our animation so shift a and i'm gonna go to a camera like this and i'd like to start for example starting point from zero so we can start for example here ctrl alt and hit zero so that we can fix our camera to this view and we contribute a little bit so we can bring it down a little bit a little bit like this okay and also also over here uh i'm gonna be adding a base so shift s cursor to the word origin shift a and let's add a plane i'm going to ask scales by let's say 25 or even up scale by two and also i'm going to hit or let's add the subdivision modifier actually we don't want to have uh sharp corners so let me just kind of even up and for example let's increase that viewport to for example 3. just like that sheet smooth we might also bring it down a little bit something like that all right so let's hit zero and get back to our camera and let's start so we can we can do uh we can start from here so the sliding point i'm going to just right click in search keyframes so for the rotation as well as the location and for example at frame i'm gonna jump into frame 250 i'm gonna just move my camera up as you can see i didn't come continue with the bacon you can just continue but i just stopped at frame 200 here so basically got the id there is no need to add more time into it so for example let's stop right here to frame 200 right click insert keyframes and let's see so let's see if we're going to be having a good following up but actually what i'd like to do is to slow down the camera as you can see it's uh it's going with the rocket launch linearly so i don't want that i want to emphasize that starting point so what i'd like to do is i'm going to switch again to the graph editor and make this slow start uh the starch slow a little bit so let me select my camera select all these points i think uh the one responsible is this one as you can see because it's curvy just try to scale it down like this or even scale it up here so that we can slow down that starch all right so let's see all right as you can see uh the camera is kind of fixed giving us the opportunity to see our rocket launch going up which is nice okay so it's gonna go like that all right so there we go so as you can see we added our camera and we make it focus on our space rocket launch okay so we're gonna continue in the next coming lecture
Info
Channel: Reality Fakers
Views: 11,813
Rating: undefined out of 5
Keywords: Blender, Mantaflow, Fluid Simulation, Fire & Smoke, Rocket Launch
Id: NFtXTruJ-_c
Channel Id: undefined
Length: 18min 39sec (1119 seconds)
Published: Fri Mar 19 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.