using an ultrasonic sensor in other medium ?

hi guys

i was just wondering if i can use the ultrasonic sensor to measure the thickness of a water or some other medium maybe and i have a question :

would the ultrasonic waves penetrate the container and bounce back or it will just reflect from the front of the container giving just a reading related to the travel time in the small air gap between the sensor and the container ?
i made this diagram to illustrate my question :

would the ultrasonic waves penetrate the container and bounce back or it will just reflect from the front of the container giving just a reading related to the travel time in the small air gap between the sensor and the container ?

Think what would happen if the container were empty. What is the container made of ? Does it reflect ultrasonic waves ? Will the transmitter/sensor be in direct contact with the container ? Will their characteristics be altered if they are in contact ?

Have you tried it ?

The waves will bounce back from every non-absorbinong material.
The energy of the reflected signals will be reduced by every layer.
The return waves may exist but you may need special instruments to detect them.

Do the math on the timing.

Do some googling for noncontact assembly line sensors to see what is being done by people with deep pockets.

The DS1603L sensor may be able to do what you're looking for. It requires to be glued onto the container wall.