Viewing 7 posts - 1 through 7 (of 7 total)
• Author
Posts
• #1902
happyday
Member

Hi everyone,
I notice when setting a inlet like setting Poiseuille inflow in aorta3d,it define a Smooth start curve first.Why doing this?Here is the code:

Code:
SinusStartScale<T,int> nSinusStartScale(iTperiod,converter.getLatticeU());

// Creates and sets the Poiseuille inflow profile using functors
int iTvec[1]={iT};
T maxVelocity[1]={T()};
nSinusStartScale(maxVelocity,iTvec);
CirclePoiseuille3D<T> velocity(superGeometry,3,maxVelocity[0]);

if(bouzidiOn) {
offBc.defineU(superGeometry,3,velocity);
}
else {
sLattice.defineU(superGeometry,3,velocity);
}

#2577
mathias
Keymaster

This is avoid pressure waves, i.e. to obtain a consistant initial condition. There are also other ways of doing it and some papers, too.

Best
Mathias

#2579
happyday
Member

Think you,Mathias

I have another question for this code.In the code,the physical inlet velocity=maxVelocity=charU.But in the LBconverter, physVelocity=charU / latticeU * latticeVelocity,that means physical inlet velocity is not the physVelocity in LBconverter?

Best
Gao

#2580
mathias
Keymaster

In the simulation you need to set the e.g. the velocity in lattice units. Best Mathias

#2581
happyday
Member

Think you,
Mathias
set the latticeVelocity?How? In LBconverter,the latticeVelocity=1

Best Gao

#2582
mathias
Keymaster

Please, have a look at our various examples, e.g. cylinder3d/2d, as well as please consider to come to our next Spring School in Karlsruhe next year.

Best
Mathias

#2583
happyday
Member

OK,think you

Viewing 7 posts - 1 through 7 (of 7 total)
• You must be logged in to reply to this topic.