UDF to define the vector transport equation
Hi
Through the UDS, scalar transport equation can be defined. I would like to define the vector transport equation. How can i define it? regards Mvee |
Hi,
You would need 3 UDSs as each component! :) Bests, |
Hi Amir
Can you describe how and which UDS to use? Mvee |
Quote:
Bests, |
Hi Amir
Problem: Welding arc simulation Description: 1) No. of zones: 3 2) Solid zone: electrode and workpiece (copper) 3) Fluid: argon (electrically conductive) Current is imposed on the electrode which passes from the fluid and workpiece (which is at zero potential). Due to the current electro-magnetic field is generated which is governed by Maxwell’s equation (consists of current continuity and potential vector equation). These equations are having same form as that of our NS equations. I have defined one UDS for voltage to solve current continuity equation. In the similar form do you mean to define UDS for vector A. Can you describe how shall I follow for the physics mentioned above? Also the output of this UDS will go as source term in momentum equation. Thanks Mvee |
Quote:
Ok, you'll also need a vector transport equation. You can consider a vector transport equation as 3 scalar transport equation (one for each component) and model each of them via a UDS. Here you have a vector A, so define 3 UDS as Ax, Ay and Az as its components. So consider your vector equation and decompose it into 3 scalar equation. Finally with simple UDFs you can add each component of your added equations into each momentum components without any trouble. Bests, |
Quote:
It depends. It doesn't need to evaluate j explicitly if you just want to obtain A! you can substitute j from equation 2 into 3 directly and remove the j variable. But if you want to obtain j as well; yes, you'll need a UDF to store the phi gradient into a UDM. It should be noted that you would also need UDFs for defining source terms of equation 3. Bests, |
Hi Amir
Thank you very much for your kind co-operation. I have solved these equations. Thank you Mvee |
Quote:
I have developed a code for that but I am facing problem with converging temperature. |
All times are GMT -4. The time now is 02:36. |