|
[Sponsors] |
Predefined velocity field implementation CFX 5.7 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 10, 2004, 07:20 |
Predefined velocity field implementation CFX 5.7
|
#1 |
Guest
Posts: n/a
|
Hello! I'm studying transition of heat across steel plate to the water. From experimental setup we determined the 2D velocity field of the problem. I have created the same geometry in CFX (with nodes on the same place as the velocities from the experiment are). The problem arised when I had to implement the obtained velocities in to CFX before solving. Probably this requires the use of Fortran subroutine but I've never done it. Can anybody give me some clues on how to do it? Thank's in advance! Matjaz
|
|
September 10, 2004, 10:19 |
Re: Predefined velocity field implementation CFX 5
|
#2 |
Guest
Posts: n/a
|
Hi,
If you are using CFX-4, you will need to write a fortran for this! If you are using CFX-5.6/5.7 you can directly import the experimental data and apply the same on the boundary. This can be done using the User functions. You can either create a 1D or a cloud interpolation function. You can contact your CFX-support people who would eb able to provide you with examples. Let me know if you require any further inputs. Regards, test |
|
September 11, 2004, 06:11 |
Re: Predefined velocity field implementation CFX 5
|
#3 |
Guest
Posts: n/a
|
Later I've figured uot that initial conditions can be predetermined usig *.csv files which are actually excel files using comas beetwen values. This csv file can be later imported in to CFX. I will give a detailed description on how to do it later.
Matjaz |
|
September 13, 2004, 08:26 |
Solution!
|
#4 |
Guest
Posts: n/a
|
After almost giving up I finally solved the riddle. I'm giving a detailed description on how to implement Velocity field in the initial condition. As mentioned the problem occured when I had to determine heat flux thru steel plate to water with known velocity fied. I figured out that this can be done using *.csv files. I've found some directions in tutorial Tut03Inject_Mikser and by reading InjectMikser.pre both located in CFX5.7/exsamples directory. Here is how I've done it:
After defining boundary conditions specify not to solve fluids. Go to Create - Expert Objects - Expert Parameter - Model Overrides, Check solve fluids and set it to f (false). - OK. Go to Tools - Initialise profile data. Browse for the csv you want to import. If the file is accepted you should get in the same window parameters Coordinates, Values and Units. - OK In the Physics - Library you should see CFX Expression Language - fx (name of the surface where the condition applies) - Data Field:Velocity u, v, w in my case Define Initialisation by cliking on Global initial conditions for fluid domain. Check domain initialisation - check Initial conditions - Velocity Type set to Cartesian and specify for U, V, W: "Surface where the condition applies".Velocity u(x,y,z) "Surface where the condition applies".Velocity v(x,y,z) "Surface where the condition applies".Velocity w(x,y,z) - OK If every thing is ok no errors will be displayed. The csv file should look like this: [Name] Surface where the condition applies [Spatial Fields] x,y,z [Data] x [ m ], y [ m ], z [ m ], Velocity u [ m s^-1 ], Velocity v [ m s^-1 ], Velocity w [ m s^-1 ] Here down comes the data separated by comas. I suggest you read tutorial and look at the pre file to see how it is defined. Good luck Matjaz |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problems after decomposing for running | alessio.nz | OpenFOAM | 7 | March 5, 2021 05:49 |
Velocity field problem | feizaghaee | CFX | 20 | February 24, 2010 05:23 |
Initial velocity field in StarCCM+ | Subhadeep | Siemens | 3 | December 21, 2008 04:40 |
transient temperature field with constant velocity | Törnquist | CFX | 0 | September 16, 2003 05:22 |
Pressure from velocity field | Svante Hellzén | Main CFD Forum | 5 | November 30, 1999 19:20 |