Let $X \subseteq \mathbf{R}^n$ be Zariski closed and absolutely irreducible, and let $U \subseteq \mathbf{R}^n$ be Euclidean open. My guess is that $X$ is the Zariski closure of $X \cap U$, if the latter is nonempty.
In the case of $X = \mathbf{R}^n$, the proof as given in this answer can be easily modified to work here: if $f$ is a polynomial that vanishes on $U$ ($= X \cap U$), then it is zero on all of $\mathbf{R}^n$ by analyticity. Then $X$ is the Zariski closure of $X \cap U$.
In the general case, it seems like you would want to choose some analytic local coordinates, but this is not easy for at least two reasons:
- The statement is clearly false if $X$ is allowed to be reducible, and when $U$ has empty intersection with any of its irreducible components. This shows how hard it is to make a global statement about the zeros of some function $f$ that vanishes on $X \cap U$.
- Maybe $X \cap U$ contains singularities.
In the case of $X \subseteq \mathbf{C}^n$, the analogous statement is implied by the theorem in Mumford's book as cited by this answer.
I tried the following: Suppose that $f$ vanishes on $X \cap U$; we want that $f$ vanishes on $X$. Define $V = X \cap V(f)$ and $W = \overline{X \setminus V}$ (Zariski closure). Since $X$ is irreducible, it is sufficient if we can prove that $W \neq X$, because then $V=X$. I'm not sure if this is very helpful: At this point, I've basically just postponed comparing a Zariski closure with a Euclidean open set.
Thanks in advance for any insight!