Skip to content

Re: How to Change Fluid Properties

#2388
ivan
Member

Hello, Alejandro,rnrnSo, basically I’ve changed line 156 fromrnrn

Code:
AnalyticalConst2D<T,T> rhoF(1);

to

Code:
AnalyticalConst2D<T,T> rhoF(1000);

rnrnAnd the converter object fromrnrn

Code:
LBconverter<T> converter(rn (int) 2, // dimrn (T) L, // latticeL_rn (T) 0.02/M, // latticeU_rn (T) 0.2*2.*radiusCylinder/Re, // charNu_rn (T) 2*radiusCylinder, // charL_ = 1rn (T) 0.2 // charU_ = 1rn );rn converter.print();

rnrntornrn

Code:
LBconverter<T> converter(rn (int) 2, // dimrn (T) L, // latticeL_rn (T) 0.02/M, // latticeU_rn (T) 0.000001, // charNu_rn (T) 2*radiusCylinder, // charL_ = 1rn (T) Re*0.000001/(2*radiusCylinder), // charU_ = 1rn (T) 1000. // charRhorn );rn converter.print();

rnrnAnd the images are not being generated.rnrnAtt.rnrn