How to set a Cyinder and piston Movement in CFD Analysis simlab?

Hi Good day,
I have a Piston and cylinder assembly with inlet and Outlet valves.
Here I want to perform a CFD Analysis to find the pressure at inlet and outlet.
I am able to extract the fluid volume within the piston and cylinder assembly when the piston is positioned at the Bottom Dead Center (BDC) of the cylinder.
The piston is actuated by an electric motor, similar to the setup in an engine cylinder and piston assembly. I am aware of the motor's RPM, I would like to know how to use this RPM value to actuate the piston in Simlab.
Additionally, the assembly includes both an inlet and an outlet valve, which open and close as the piston moves upward and downward. How to configure the inlet and outlet valves to open and close in line with the piston’s movement in CFD Analysis.
The valves are not connected to any timing chain setup. The valve is like a sheet metal around very small thickness, it will deflect based on suction and exit of the air.
If air comes from outlet the valve will deflect like this. If flow velocity is higher, the valve will deflect more and for low velocity the valve will deflect less.
How to set this type simulation in Simlab Acusolve or HM CFD ?