Hi Nazanin,
You might want to try the following,
"variable llx equal lx/${xlen}", where "xlen" is a pre-defined
variable for the number of your unit cells in x-direction. Then you can
output this v_llx in your thermo output and monitor your lattice constants.
Ray