Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

benchmark_AIAA

This repository contains the files for the prediction of the streamwise velocity fluctuation, $u$, at a wall-normal distance of $y^+\approx 15$, from the measurement of the shear stress on the wall, $\frac{\partial u}{\partial y}$. The repository contains three main files:

  1. read_database.py : file for calculating the normalization and prepare the tfrecords required for the training of the model.
  2. train_database.py : file for training the model using the tfrecords. This file also postprocess the results.
  3. check_database.py : file for obtaining the results given the trained model.

For the use of the code follow the next steps:

  1. Configure the problem by running: /main_code/configurations/configure_problem.py
  2. Preprocess the data by running: /main_code/read_database.py
  3. Train the model and obtain the results using: /main_code/train_database.py
  4. If required plot the results again by running: /main_code/check_database.py

The code has been tested using TensorFlow 2.10.

The model is trained as shown below:

hist

This training corresponds to a mean error of 2.93% of the maximum value of the velocity at $y^+\approx 15$. The input field, $\frac{\partial u}{\partial y}$, is the following:

input

The output (ground truth):

output

And the predicted field:

pred

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages