Skip to content

Add 2D MSFR pump power variation#16

Open
mahmudulh-tamim wants to merge 12 commits intomainfrom
add-2d-MSFR-pumpPowerVariation
Open

Add 2D MSFR pump power variation#16
mahmudulh-tamim wants to merge 12 commits intomainfrom
add-2d-MSFR-pumpPowerVariation

Conversation

@mahmudulh-tamim
Copy link
Copy Markdown
Collaborator

@mahmudulh-tamim mahmudulh-tamim commented Jun 23, 2025

This pull request adds 2D MSFR case set where each case has a different pump power in phaseProperties .

The simulation can be run on a single processor by running Allrun from the terminal as

./Allrun

The simulation can be run in parallel by running Allrun-parallel from the terminal as follows:

./Allrun-parallel <Nprocessor>

If <Nprocessor> is not provided, the script will use all the processors in the system— that is, the number of processor equal to the value returned by the nproc command. It should be noted that Allrun-parallel uses reconstructPar -allRegions command to recompose after the simulation, but this command does not recompose all the data, e.g. alpha.structure in fluidRegion doesn't get recomposed. See, here for more details.

New data.csv file can be generated by running momentum_value_gen.py from the terminal as follows:

python3 ./Data/momentum_value_gen.py <start_value> <end_value> <total_count>

It should be noted that the value generated will be random.

@rokkrpan
Copy link
Copy Markdown
Collaborator

Remove non-necessary files from the template (currently there are two meshes, multiple files with different option, mesh manipulation files,...)

@mahmudulh-tamim
Copy link
Copy Markdown
Collaborator Author

Remove non-necessary files from the template (currently there are two meshes, multiple files with different option, mesh manipulation files,...)

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add 2D MSFR GeN-Foam pumpPowerVariation Template case in the examples

2 participants