I have a surface/wall (10cmx10cm), where I want to apply varied pressure during the simulation on a small area of the surface say (10mm x 10mm). Is this possible?
Can you guide me to do it?
Yes, you can do this using the codedFixedValue boundary condition on the newer versions of OpenFOAM. An example of codedFixedValue can be found in the below link.