Skip to content
Snippets Groups Projects
Commit 0d761486 authored by AlenaKaranchuk's avatar AlenaKaranchuk
Browse files

rho = 2150

parent 74c8a309
No related branches found
No related tags found
1 merge request!225Refactoring of CPU code
......@@ -64,7 +64,7 @@ void bflow(string configname)
double Omega = 2 * UbMath::PI / 60.0 * N; //rad/s
//double mu = 5; //Pa s
double R = 0.165 / 2.0; //m
double rho = 970; //kg/m^3
double rho = 2150;// 970; //kg/m^3
double Re = Omega * R * R * rho / mu;
//double nuLB = OmegaLB * R * 1e3 * R * 1e3 / Re;
......@@ -420,7 +420,7 @@ void bflow(string configname)
SPtr<WriteMacroscopicQuantitiesCoProcessor> writeMQCoProcessor(new WriteMacroscopicQuantitiesCoProcessor(grid, visSch, outputPath, WbWriterVtkXmlBinary::getInstance(), SPtr<LBMUnitConverter>(new LBMUnitConverter()), comm));
//writeMQCoProcessor->process(100);
SPtr<UbScheduler> forceSch(new UbScheduler(1000));
SPtr<UbScheduler> forceSch(new UbScheduler(100));
SPtr<CalculateTorqueCoProcessor> fp = make_shared<CalculateTorqueCoProcessor>(grid, forceSch, outputPath + "/torque/TorqueRotor.csv", comm);
fp->addInteractor(rotorInt);
SPtr<CalculateTorqueCoProcessor> fp2 = make_shared<CalculateTorqueCoProcessor>(grid, forceSch, outputPath + "/torque/TorqueStator.csv", comm);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment