Chapter 2 Computational Fluid Dynamics Simulation


Chapter 2 Computational Fluid Dynamics Simulation

In 1996, it was an era when you had to wear shoe covers when entering the computer room. Computers were a new thing. Of course, students’ personal computers were almost non-existent, even the school’s The computer room, unless approved by the college or higher, can only be used for a maximum of one hour per day with a student ID card.

At this time, Chang Haonan was sitting in front of a computer of unknown brand, looking at the familiar yet unfamiliar pictures on the monitor.

The classic fluid dynamics calculation software Fluent is a relatively new version compared to 1996.

The oldest fluent is just a partial differential equation solver and does not even have a meshing function. In that case, the workload will be several times greater.

Although Chang Haonan can perform smooth operations with system buffs, the computer itself in 1996 was really unable to respond smoothly, and what he lacked most at the moment was time.

But even so, the 3D modeling process still requires additional software, such as Dassault's CATIA.

"Now Ye Qing is really back, in a double sense."

Chang Haonan thought to himself as he looked at the CRT monitor, trackball mouse and win95 interface in front of him.

"Haonan, when did you learn these things?" Wu Yifan, standing behind Chang Haonan, had curiosity in his eyes.

Of course what he was concerned about was not Chang Haonan's ongoing simulation modeling work itself, but the latter's extremely skilled use of computers. He knew a big boss from Huaxia Renmin University. He made more than 200,000 yuan through computer programming when he was a sophomore, and he became his idol for a time.

"Of course when you go to contact business outside the school." Chang Haonan said without looking back.

Zhang Man and Zhou Shuwan, who were also standing behind Chang Haonan, had their jaws almost dropped with disbelief on their faces.

Compared to Wu Yifan who is hardly interested in his studies, the two of them know how difficult it is to model a complex structure like an airplane, even if they just leave the things that have been drawn on the drawings as they are. Transferring it to a computer is an astronomical workload for a novice.

However, all this was so easy in Chang Haonan's hands. As his fingers flew around on the keyboard and mouse, a fighter model with a large delta wing and a conventional layout gradually appeared on the computer screen. .

Equivalent wing model, completed

Full aircraft aerodynamic model, completed

The computer room management teacher came over midway to remind them that the time was up. Wu Yifan, who was afraid that Chang Haonan would be disturbed, decisively added an hour of his time to the After that, Zhou Shuwan and Zhang Man also contributed their student ID cards one after another.

Inlet duct modeling...

Engine modeling...

"Huh..."

Under the "guidance" of the system, Chang Haonan almost entered a selfless working state. When he finally completed the required modeling work, he discovered that several years had passed. hours.

"Is this... the end?" Zhang Man stared at the screen in front of him in stunned silence. Although he had just watched the entire modeling process, it took him four hours to make a model with such precision. The high three-dimensional model still makes her feel unreal.

"Strictly speaking, of course not." Chang Haonan stretched out and leaned back on the chair: "But our course only requires aerodynamic design, so airborne equipment, internal structures, etc. Let’s just ignore it. Anyway, we know that this plane can definitely fly.”

“It’s awesome, Brother Nan. I don’t think even the professors in our college can compare with it. Are you more skilled?" Zhang Man did not hesitate to praise Chang Haonan, and his name has also changed.

I originally thought that the big boss in the group was Zhou Shuwan, but it turned out that Chang Haonan, who seemed a little crazy before, was the real hidden boss!

No, God of Study!

How can the madness of Xue Shen be called madness? That’s just ordinary people not understanding God’s thoughts.

“If we only talk about simulation, it’s pretty much the same.”

Chang Haonan reached out and touched his thick hair, leaned back on the chair, revealing a Confident smile. He is not just boasting. There may not be anyone in the world who is more skilled than him in this regard.

"But what we were talking about before was to calculate the performance of this aircraft?" Wu Yifan scratched his head. Although he also saw that Chang Haonan was powerful, he really didn't want to increase his own strength.

“Of course, but the calculation process will be more time-consuming, so I only calculated the performance of the inlet part this time. Next, I only need to use the finite volume method to solve the Euler equation for the flow field outside the body. The flow field uses the finite volume method to solve the N-S equation, and then relatively typical inlet performance data can be obtained."

Chang Haonan saved the model file and opened fluent to prepare for the next step.

For grid generation of complex shapes, partitioned structured grids or overall unstructured grids can be used. Partitioned structured grids have high calculation efficiency, but the degree of automation of grid generation is low. The characteristics of unstructured grids It's the opposite.

As a "scientific research mentor", the system naturally taught Chang Haonan all these two technologies, but the latter needed to choose one of them to output to the computer in front of him.

Although the new version of the software in 1996 can already divide the grid, the function is not very complete. Considering that the performance of computers in this era is still slightly different from that of more than 20 years later, Chang Haonan finally chose a computer with higher computational efficiency. former.

"Unit No. 27, it's time for you guys to board the machine again. This time..." At this critical moment, the voice of the computer room teacher came from the door again, and this time they didn't have another one. Your student ID card is ready for use.

“Use mine.”

A cold female voice sounded from the row behind Chang Haonan. Several people turned around and saw a woman with long hair shawl, wearing a light blue dress, The tall girl wearing round glasses stood up and handed an ID with a red cover to the computer room teacher: "I got off the plane here, and then it belongs to them."

That ID is obviously not ordinary. , the computer room teacher just glanced at it, turned around and walked out of the computer room without even writing anything down in the notebook in his hand. "Thank you..."

After all, he was a big help, so after the computer room teacher left, Chang Haonan quickly expressed his thanks, but after he spoke, he was not sure whether the other person was a teacher or a student.

"Yao Mengna, second-year Ph.D. student, should be considered your senior."

Yao Mengna made a simple self-introduction, left the computer she had just used and came to Chang Haonan and the others. Next to: "As long as you don't get off the computer, you can keep using this computer, and you don't have to worry about anyone coming to disturb you."

"Thank you so much, senior, we..."

Wu Yifan thanked him with a smile on his face, but he was interrupted in the middle of his words: "It's okay, I just want to see how you plan to continue. Are you going to conduct a fluid dynamics simulation of the entire machine?"< br>
Obviously Yao Mengna is also very interested in the modeling that Chang Haonan is doing, but because the four people spoke in very low voices just now, she could not hear the specific content clearly.

Chang Haonan nodded: "Yes, we are going to use fluent to numerically solve the fully viscous Nevi-Stokes equation."

After hearing this answer, Yao Mengna's eyes widened slightly. Eye.

She really hadn’t thought about these people, or that this one who looked like an undergraduate was going to play so big - she had already noticed these people in the row in front of her just now, and naturally knew that all the work was It was done by this guy who was sitting in front of the computer.

In fact, even Yao Mengna, who is in the second year of her Ph.D., has only just begun to gradually come into contact with computational fluid dynamics (CFD) simulations of aircraft.

“You don’t mind if I look around, right?” Although Yao Mengna used a questioning tone, she sat on a chair next to her before Chang Haonan could answer: “Maybe I can help. I’ll be busy.”

Although she said that, Yao Mengna herself didn’t have a particularly clear idea. She mainly wanted to find some inspiration through Chang Haonan’s approach. At this time, digital design and computer simulation are still new things to aviation designers across China.

While the two were talking, Chang Haonan had already imported the just-completed modeling into Fluent and started meshing the finite volume method.

“Huh…”

Then came his moment to perform.

Fluent in this era does not yet have a beautiful graphical interface and a large number of preset models that can be directly called. Especially for complex simulations such as supersonic fluid dynamics, it can only complete part of it.

However, this does not stump Chang Haonan, who already knows all the next steps.

Since the existing software can only complete part of the work, use Fortran language to write an algorithm for numerical solutions to partial differential equations.

Then operate Fluent to complete the lazy part by calling external programs, and then use scripts to realize automated operations.

Yao Mengna, who was watching from the side, had a relatively relaxed attitude at first, but after just closing her eyes and yawning, she realized that she could no longer keep up with her thoughts.

In particular, Chang Haonan's code input speed almost took off, leaving her with no time to clearly see the function of each piece of code, let alone write down the entire process.

"That..."

Yao Mengna spoke hesitantly, wanting to ask Chang Haonan about his specific numerical simulation ideas, but for a moment she couldn't help but ask the undergraduate questions directly. , so I had to change it to a more euphemistic term.

“Can we have a discussion? My idea seems a little different from yours?”

"Okay, tell me your thoughts first, and let me see if there are any problems."

Chang Haonan was completely immersed in work again, and he had only been reborn for a few hours, so he subconsciously thought that he Or take care of interns in the research institute.

“Huh?”

Yao Mengna almost broke through with one sentence.

No, what do you mean, check to see if there is any problem?

Do you really think of yourself as the standard answer?

Are you so confident?

And the most important thing is...

She can't think of a complete idea at all!

Yao Mengna took several deep breaths in succession and patted her chest before she could catch her breath.

"No... no need, just tell me what you think and I will compare it myself."

(End of this chapter)

Previous Details Next