CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Problems with mapFields and moving mesh.

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2010, 04:05
Default Problems with mapFields and moving mesh.
  #1
New Member
 
Gustavo
Join Date: Feb 2010
Location: Curitiba - PR - Brasil
Posts: 16
Rep Power: 16
ghindi is on a distinguished road
Hi there,

I've an engine cylinder mesh with a complex geometry, so the add/remove layer does not work for me, so I've created different meshs at every 5 crank angle degrees. So, for instance, after running from -100 CAD to -95 CAD with mesh "A", I need to map the fields to mesh "B" that will run from -95 CAD to -90 CAD.
I've created a mapFieldsDict to cut the patch in the piston boundary.
The problem is that the mapFields is creating a lot of cells with zero velocity in my domain, and this is no correct.
Does anyone know how to solve this problem?

Thanks in advance!

Gustavo.
ghindi is offline   Reply With Quote

Old   April 23, 2010, 11:42
Default
  #2
New Member
 
Andres
Join Date: Apr 2010
Posts: 3
Rep Power: 15
Panagioto is on a distinguished road
Hi,
I've used mapFields this way.

mkdir <new case's name>
cp -r <original case/constant> <new case's name>
cp -r <original case/system> <new case's name>

Then u refine the mesh and in the new case directory u put:

mapFields ../<original case> -consistent

Let me know if this works for you
Panagioto is offline   Reply With Quote

Old   April 25, 2010, 05:56
Default
  #3
New Member
 
Gustavo
Join Date: Feb 2010
Location: Curitiba - PR - Brasil
Posts: 16
Rep Power: 16
ghindi is on a distinguished road
Hi,
first of all, thanks for replying.

I've tested that already, without success. I mean, mapFields works but creates lots of regions with high gradients. So when I start the simulation, my Courant number is high and then it crashes. Even reducing the timestep does not work.

I don't know how to avoid this gradients when using mapFields.

If you have any other ideas, please let me know.

Regards,
Gustavo.
ghindi is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



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