CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: rt08
Forum: OpenFOAM Programming & Development April 2, 2015, 11:21
Replies: 8
Views: 1,369
Posted By rt08
The main solver has a time loop, in the time loop...

The main solver has a time loop, in the time loop there is a second loop to loop through the regions. At the start of this second loop is setRegionFluidFields.H. This does things like this:
...
Forum: OpenFOAM Programming & Development April 2, 2015, 11:00
Replies: 8
Views: 1,369
Posted By rt08
I would recommend using the regionProperties...

I would recommend using the regionProperties class (https://github.com/OpenFOAM/OpenFOAM-2.3.x/tree/master/src/regionModels/regionModel/regionProperties) and then create your meshes using the way...
Forum: OpenFOAM Programming & Development April 2, 2015, 10:53
Replies: 8
Views: 1,369
Posted By rt08
Have a look in createFluidFields.H: ...

Have a look in createFluidFields.H:

PtrList<volVectorField> UFluid(fluidRegions.size());

forAll(fluidRegions, i)
{
Info<< " Adding to UFluid\n" << endl;
UFluid.set
...
Forum: OpenFOAM Programming & Development April 2, 2015, 09:44
Replies: 8
Views: 1,369
Posted By rt08
You can change mesh to mesh2 but remember you can...

You can change mesh to mesh2 but remember you can only have one volVectorField called U e.g. you would need to call U for second mesh U2 or similar

A good way to approach this is using multiple...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 00:00.